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{