|
|
@@ -207,12 +207,12 @@ export default {
|
|
|
},
|
|
|
// #endif
|
|
|
async selectShopFn (val) {
|
|
|
- uni.showLoading({ title: "加载中", })
|
|
|
- try {
|
|
|
+ uni.showLoading({mask:true})
|
|
|
await toggleShop({ shopId: val.id })
|
|
|
//有多处相似地方,请全项目搜索about_store_clear
|
|
|
// #ifdef MP-WEIXIN
|
|
|
this.$store.commit("setLoginInfo", {})
|
|
|
+ this.$store.commit("setMyShopInfo", {})
|
|
|
this.$util.pageTo({url: "/admin/home/me",type: 3})
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
|
@@ -222,9 +222,6 @@ export default {
|
|
|
plus.runtime.restart()
|
|
|
// #endif
|
|
|
getShopInfo(true)
|
|
|
- } finally {
|
|
|
- uni.hideLoading();
|
|
|
- }
|
|
|
},
|
|
|
checkToApplyCash () {
|
|
|
let that = this;
|