|
|
@@ -40,6 +40,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
changeShop(id){
|
|
|
+ let that = this
|
|
|
switchGhsShop({shopId:id}).then(res=>{
|
|
|
//有多处相似地方,请全项目搜索about_store_clear
|
|
|
// #ifdef MP-WEIXIN
|
|
|
@@ -47,9 +48,9 @@ export default {
|
|
|
that.$util.pageTo({url: "/admin/home/workbench",type: 3})
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
|
- this.$store.commit("setLoginInfo", {})
|
|
|
- this.$store.commit("setDictionariesInfo", {})
|
|
|
- this.$store.commit("setMyShopInfo", {})
|
|
|
+ that.$store.commit("setLoginInfo", {})
|
|
|
+ that.$store.commit("setDictionariesInfo", {})
|
|
|
+ that.$store.commit("setMyShopInfo", {})
|
|
|
plus.runtime.restart()
|
|
|
// #endif
|
|
|
})
|