cshenfu
2023-05-26 5d3b2ffa8e1dc1e1cce3e05b2131516bcde0f6bd
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'])
      },