checkType==4
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user