From e26a277410ab19ad04fba555e242f17d50cf4363 Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Fri, 30 Dec 2022 17:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=8F=98=E6=9B=B4=EF=BC=8C?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/auth/auth-userInfo-mobileInfo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/auth/auth-userInfo-mobileInfo.vue b/components/auth/auth-userInfo-mobileInfo.vue index dec4540..d0ef532 100644 --- a/components/auth/auth-userInfo-mobileInfo.vue +++ b/components/auth/auth-userInfo-mobileInfo.vue @@ -157,8 +157,8 @@ uni.setStorageSync('expire',res.data.data.expire); // 缓存失效时间(时间戳格式) uni.setStorageSync('phone_active',res.data.data.phone_active); // 是否绑定手机号 uni.setStorageSync('is_active',res.data.data.is_active)//是否第一次授权 - if(res.data.data.phone_active==0 || res.data.data.is_active==0) { - if(uni.getStorageSync('paramsUrl')!=='/pages/tabbar/my/staffDuan'&&uni.getStorageSync('paramsUrl').indexOf('/pagesA/')){ + if(res.data.data.phone_active!==0 || res.data.data.is_active!==0) { + if(uni.getStorageSync('paramsUrl')!=='/pages/tabbar/my/staffDuan'&&uni.getStorageSync('paramsUrl').indexOf('/pagesA/')!==-1){ if(uni.getStorageSync('authorization')==1){ this.showAuth = true; }else{