写法如下 非常方便
const avtiveTag = computed({
get:()=>{
return store.getters["menu/GETACTIVETAB"]
},
set:(path)=>{
store.commit("menu/EDITACTIVETAG", path);
}
});
写法如下 非常方便
const avtiveTag = computed({
get:()=>{
return store.getters["menu/GETACTIVETAB"]
},
set:(path)=>{
store.commit("menu/EDITACTIVETAG", path);
}
});