feat: 更新用户信息对话框逻辑并调整环境配置
This commit is contained in:
parent
1d6c7c8d38
commit
a188defdbc
|
|
@ -375,12 +375,15 @@ export default {
|
|||
aiccsApiUsersappCheck(),
|
||||
aiccsApiUsersappGetPublicKey()
|
||||
])
|
||||
if (!checkRes || checkRes.code !== 0) {
|
||||
if ((!checkRes || checkRes.code !== 0)) {
|
||||
this.userInfoDialogVisible = true
|
||||
return
|
||||
}
|
||||
this.userInfoPublicKey = (publicKeyRes && (publicKeyRes.data || publicKeyRes.msg || publicKeyRes.publicKey)) || ''
|
||||
this.userInfoDialogVisible = !this.hasUserInfoRecord(checkRes)
|
||||
if (process.env.VUE_APP_ENV === 'dev') {
|
||||
this.userInfoDialogVisible = false
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('检查用户身份证和手机号失败:', error)
|
||||
this.userInfoDialogVisible = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue