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

View File

@@ -9,10 +9,6 @@
<div class="qrcode-content"> <div class="qrcode-content">
<AiImage :src="picUrl" class="qrcode-img" v-if="picUrl" preview/> <AiImage :src="picUrl" class="qrcode-img" v-if="picUrl" preview/>
<div v-else class="tips"> <div v-else class="tips">
<!-- <u-icon name="error-circle" color="#909399" size="34" style="display: inline"></u-icon>
<div class="empty">
</div> -->
<AiEmpty :description="`暂未选择群聊`" class="emptyWrap"/> <AiEmpty :description="`暂未选择群聊`" class="emptyWrap"/>
</div> </div>
</div> </div>