on multiple superpositions can switch by clicking on superposed mapitem
This commit is contained in:
@@ -20,6 +20,17 @@ export default {
|
||||
computed: {
|
||||
...mapState(ConcernementsStore,['concernementsByID', 'opened_concernement', 'ct_concernement']),
|
||||
},
|
||||
watch: {
|
||||
cid: {
|
||||
handler (n,o) {
|
||||
console.log(`TerrainDeVie watch cid o:${o}, n:${n}`);
|
||||
if (n) {
|
||||
this.concernement = this.concernementsByID[n];
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(ConcernementsStore,['setMapMode'])
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user