From 5d3b2ffa8e1dc1e1cce3e05b2131516bcde0f6bd Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期五, 26 五月 2023 13:24:04 +0800
Subject: [PATCH] change vip page
---
pages/mine/mine.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index 7f7762c..eef04b0 100755
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -161,7 +161,8 @@
if (/MicroMessenger/i.test(navigator.userAgent)) {
platform = 'gzh';
}else{
- if (!this.userInfo.token) {
+ // 濡傛灉涓嶆槸寰俊娴忚鍣ㄧ幆澧冿紝鍒欐樉绀洪��鍑虹櫥闄嗙殑鎸夐挳
+ if (!this.userInfo.token) { //鍒ゆ柇鏄惁鏈夌敤鎴风櫥闄嗘潵杩涜閫�鍑虹櫥闄嗙殑鏄剧ず涓庨殣钘�
this.isPC = false
}else{
this.isPC = true
@@ -169,7 +170,8 @@
}
// #endif
- return (platform == 'gzh' && this.$store.state.config.wxGzhPay == 1) || (platform == 'wxmp' && this.$store.state.config.mpPay == 1)
+ return (!!this.userInfo.token)
+ // return (platform == 'gzh' && this.$store.state.config.wxGzhPay == 1) || (platform == 'wxmp' && this.$store.state.config.mpPay == 1)
},
...mapState(['userInfo', 'num', 'config','tabbar'])
},
--
Gitblit v1.9.1