checkType==4

This commit is contained in:
shijingjing
2023-03-21 12:11:52 +08:00
parent f68f9be4c8
commit 65802d4de8
2 changed files with 3 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ export const user = {
},
authCheck({state, dispatch, rootState}, {checkType, modulePath}) {
//用于进入应用的权限判断
//checkType 1、登录认证 2、居民认证 3、党员认证
//checkType 1、登录认证 2、居民认证 3、党员认证 4、丰都个人认证
//判断是否需要校验认证信息
let {user: userInfo, token} = rootState
console.log();
@@ -108,11 +108,12 @@ export const user = {
if (res.confirm) {
uni.switchTab({ url: '/pages/AppMine/userInfo' })
} else if (res.cancel) {
// console.log('用户点击取消')
// 停留
}
}
})
}
uni.navigateTo({ url: modulePath });
}
}
}