From 06a234831966419c41f09a3b64c29e45e1c5c2ad Mon Sep 17 00:00:00 2001 From: water_xu Date: Wed, 17 Jul 2024 19:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AE=A1=E7=90=86=20-=20?= =?UTF-8?q?=E8=A1=8C=E4=B8=9A=E8=B5=84=E8=B4=A8=E5=8E=BB=E6=8E=89=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E4=B8=8D=E8=83=BD=E4=B8=BA=E7=A9=BA=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../information/qualifications/components/edit.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/views/corpInfo/information/qualifications/components/edit.vue b/src/views/corpInfo/information/qualifications/components/edit.vue index f17ae67..ecd971b 100644 --- a/src/views/corpInfo/information/qualifications/components/edit.vue +++ b/src/views/corpInfo/information/qualifications/components/edit.vue @@ -85,16 +85,7 @@ export default { rules: { NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }], VALIDITYTIME: [{ required: true, message: '证书有效期不能为空', trigger: 'blur' }], - NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }], - FILE: [ - { validator: (rule, value, callback) => { - if (this.certificate_files.length > 0) { - callback() - } else { - callback(new Error('图片不能为空')) - } - }, trigger: 'blur' } - ] + NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }] } } },