diff --git a/pages/realName/realName.vue b/pages/realName/realName.vue index bda99d9..b055109 100644 --- a/pages/realName/realName.vue +++ b/pages/realName/realName.vue @@ -154,13 +154,12 @@ export default { realName: this.name, video: this.video, realIDImgA: this.fileList[0]?.url, - realIDImgB: this.fileList2[0].url + realIDImgB: this.fileList2[0]?.url }) this.checkFdd().then((res) => { if (!res) return this.$common.msgToast("法大大验证未通过") }) if (!this.checked.length) return this.$common.msgToast("请阅读并勾选协议"); - if (!this.checked.length) return this.$common.msgToast("请阅读并勾选协议"); if (!this.name) return this.$common.msgToast("请输入姓名"); if (!this.num) return this.$common.msgToast("请输入身份证号"); if (!this.fileList.length) return this.$common.msgToast("请上传身份证人面像"); @@ -295,7 +294,7 @@ export default { checkFdd() { return this.$api.login.checkFdd().then((res) => { if (res.status === 0) { - this.isFddSuccess = true + this.isFddSuccess = res.data.isVerify return res.data.isVerify } else { this.$common.msgToast(res.msg)