Commit 7536ee2d by 李伟康

commit 修复跳转页面参数重置的问题

1 parent 0d6a1c5d
...@@ -82,6 +82,9 @@ export default { ...@@ -82,6 +82,9 @@ export default {
// 其他情况允许正常返回 // 其他情况允许正常返回
return false; return false;
}, },
onLoad () {
this.init();
},
onShow () { onShow () {
const userInfo = uni.$storage.get("userInfo") const userInfo = uni.$storage.get("userInfo")
if (!userInfo.shopMerchantId || !userInfo.shopMerchantName) { if (!userInfo.shopMerchantId || !userInfo.shopMerchantName) {
...@@ -92,7 +95,6 @@ export default { ...@@ -92,7 +95,6 @@ export default {
}); });
return; return;
} }
this.init()
}, },
methods: { methods: {
...mapMutations("audio", ["setReceptionStatus"]), ...mapMutations("audio", ["setReceptionStatus"]),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!