|
@@ -98,6 +98,14 @@ export default {
|
|
|
if (localStorage.getItem('bargainingStatusInfo')) {
|
|
|
this.info = JSON.parse(localStorage.getItem('bargainingStatusInfo'));
|
|
|
}
|
|
|
+ // 用来监听微信返回上一页的
|
|
|
+ const { exit } = this.$route.query;
|
|
|
+ if (exit) {
|
|
|
+ this.wxIntercept(() => {
|
|
|
+ this.leaveFun();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
if (+sessionStorage.getItem('activityEmd')) {
|
|
|
this.dialogVisible = false;
|
|
|
this.$toast('活动已到期');
|
|
@@ -110,13 +118,6 @@ export default {
|
|
|
}
|
|
|
this.isNavBar = !+localStorage.getItem('auth.inviteeNum');
|
|
|
_self = this;
|
|
|
- // 用来监听微信返回上一页的
|
|
|
- const { exit } = this.$route.query;
|
|
|
- if (exit) {
|
|
|
- this.wxIntercept(() => {
|
|
|
- this.leaveFun();
|
|
|
- });
|
|
|
- }
|
|
|
this.getRenewalPackage();
|
|
|
},
|
|
|
methods: {
|