when using vuex, use
in vue pagesthis.$store.commit("mapSet",map);
to call mutations to change state, but in mutations
mapSet:(state,map)=>{
console.log(map);
state.myMap=map;
}
but it is normal to output map objects when the page is called, but stack overflows are reported when assigning values. What is the error? How to solve the problem?