From 8f01a16562252b7be8acb17360357c37756d7264 Mon Sep 17 00:00:00 2001 From: xiepeng Date: Fri, 21 Jun 2024 17:58:09 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/register/apply.vue | 18 +++++++++++++----- pages/login/register/certificate.vue | 4 ++-- pages/login/register/index.vue | 1 - 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/pages/login/register/apply.vue b/pages/login/register/apply.vue index 5c26120..28d2e2e 100644 --- a/pages/login/register/apply.vue +++ b/pages/login/register/apply.vue @@ -20,11 +20,19 @@ 人员类型 - - - {{formData.PERSONNEL_TYPE.join()}} - - + diff --git a/pages/login/register/certificate.vue b/pages/login/register/certificate.vue index 10e228a..88f831f 100644 --- a/pages/login/register/certificate.vue +++ b/pages/login/register/certificate.vue @@ -606,7 +606,7 @@ export default { }, validateData() { // 身份证 - if (!this.formData.ID_CARD_FRONT) { + if (!this.fileData.idCardFront) { uni.showToast({ icon: 'none', title: '请上传身份证(正面)', @@ -614,7 +614,7 @@ export default { }); return false; } - if (!this.formData.ID_CARD_BACK) { + if (!this.fileData.idCardBack) { uni.showToast({ icon: 'none', title: '请上传身份证(反面)', diff --git a/pages/login/register/index.vue b/pages/login/register/index.vue index cc9c666..db5b772 100644 --- a/pages/login/register/index.vue +++ b/pages/login/register/index.vue @@ -337,7 +337,6 @@ }); return false; } - // 身份证 if (this.fileData.idCardFront.length < 1) { uni.showToast({