From d650896ffcbe10af6c45c520a912da1bbe4e4c58 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Thu, 30 Jun 2022 17:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=20=E7=BA=BF=E4=B8=8A?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=8F=90=E4=BA=A41=E5=B9=B4=E6=9C=9F?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=BC=B4=E8=B4=B9bug=E7=9A=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PaymentInfo/modules/PaymentInfoModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue index 6b1b27c..b1146f8 100644 --- a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue +++ b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue @@ -1339,7 +1339,7 @@ export default { } this.model.certificate = [] // 这个判断是防止没有勾选而提交证书的 - if (this.selectedRowKeys.length > 0) { + if (this.selectedRowKeys.length > 0 && values.certificateArr) { for (let i = 0; i < this.selectedRowKeys.length; i++) { let opeIndex = Number(this.selectedRowKeys[i]) let ele = values.certificateArr[opeIndex] @@ -1403,7 +1403,7 @@ export default { this.model.companyName = this.companyName this.model.certificate = [] // 这个判断是防止没有勾选而提交证书的 - if (this.selectedRowKeys.length > 0) { + if (this.selectedRowKeys.length > 0 && values.certificateArr) { for (let i = 0; i < this.selectedRowKeys.length; i++) { let opeIndex = Number(this.selectedRowKeys[i]) let ele = values.certificateArr[opeIndex]