登录变更,授权修改

master
Lee 2022-12-30 17:29:37 +08:00
parent aff2eece7f
commit e26a277410
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@
uni.setStorageSync('expire',res.data.data.expire); // uni.setStorageSync('expire',res.data.data.expire); //
uni.setStorageSync('phone_active',res.data.data.phone_active); // uni.setStorageSync('phone_active',res.data.data.phone_active); //
uni.setStorageSync('is_active',res.data.data.is_active)// uni.setStorageSync('is_active',res.data.data.is_active)//
if(res.data.data.phone_active==0 || res.data.data.is_active==0) { 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(uni.getStorageSync('paramsUrl')!=='/pages/tabbar/my/staffDuan'&&uni.getStorageSync('paramsUrl').indexOf('/pagesA/')!==-1){
if(uni.getStorageSync('authorization')==1){ if(uni.getStorageSync('authorization')==1){
this.showAuth = true; this.showAuth = true;
}else{ }else{