Mounted () and computed execution order implemented through .mapState

computed:{
    ...mapState(mapStore.name, ["mapInstance"]),
    ...mapState(mapStore.name, ["mapConfig"]),
},
storecomputed
mounted(){
    if(this.mapInstance){
        ...
    }
},
mountedmapInstance
Apr.05,2021

there seems to be something wrong with your writing here

computed:{
    /*...mapState(mapStore.name, ['mapInstance']),
    ...mapState(mapStore.name, ['mapConfig']),mapStore.name*/
    ...mapState(['mapInstance', 'mapConfig'])//
},
< hr >

is it possible that you misspelled the name of your variable or misquoted
there is a problem in the same situation as you.


are you bound to namespaced?

Menu