|
|
@@ -48,7 +48,7 @@
|
|
|
height="86"
|
|
|
src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/wechat/info_img_renzhengdianjia1.png"
|
|
|
fit="contain"
|
|
|
- @click="wait"
|
|
|
+ @click="navigateTo('/pages/store/apply')"
|
|
|
/>
|
|
|
</div>
|
|
|
|
|
|
@@ -163,7 +163,24 @@ export default {
|
|
|
.catch(() => {
|
|
|
this.navigateTo('/pages/store/review');
|
|
|
});
|
|
|
+ },
|
|
|
+ loginMethods() {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.isLogin) {
|
|
|
+ var authStatus = wx.getStorageSync('authStatus');
|
|
|
+ this.$store.dispatch('getUserStore').then(res => {
|
|
|
+ console.log(authStatus);
|
|
|
+ if (authStatus !== res.id + '_PASS') {
|
|
|
+ this.$refs.reviewPass.show = true;
|
|
|
+ wx.setStorageSync('authStatus', res.id + '_PASS');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ this.loginMethods();
|
|
|
}
|
|
|
};
|
|
|
</script>
|