|
|
|
@ -47,7 +47,6 @@ export default {
|
|
|
|
that.G.watchUserPage(args.url);
|
|
|
|
that.G.watchUserPage(args.url);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow: function (options) {
|
|
|
|
onShow: function (options) {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
@ -79,14 +78,10 @@ export default {
|
|
|
|
this.G.checkToken();
|
|
|
|
this.G.checkToken();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!that.globalData.timer) {
|
|
|
|
if (!that.globalData.timer) {
|
|
|
|
if (uni.getStorageSync("apply-token")) {
|
|
|
|
|
|
|
|
that.checkNum();
|
|
|
|
that.checkNum();
|
|
|
|
}
|
|
|
|
|
|
|
|
that.globalData.timer = setInterval(() => {
|
|
|
|
that.globalData.timer = setInterval(() => {
|
|
|
|
console.log("inner+++++++++++++++++++++++++++++++++++++++++++++++");
|
|
|
|
console.log("inner+++++++++++++++++++++++++++++++++++++++++++++++");
|
|
|
|
if (uni.getStorageSync("apply-token")) {
|
|
|
|
|
|
|
|
that.checkNum();
|
|
|
|
that.checkNum();
|
|
|
|
}
|
|
|
|
|
|
|
|
}, 30 * 1000);
|
|
|
|
}, 30 * 1000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -109,7 +104,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
|
|
initWyyx() {
|
|
|
|
initWyyx() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
|
|
|
|
|
|
|
|
|