From 51ee05e817ee78b599822936385be84a20efe6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 28 Nov 2023 18:12:56 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=8F=AF=E5=B1=95=E5=BC=80=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/JExpandTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/JExpandTable.vue b/src/components/JExpandTable.vue index 6e95a6ba..6c0f3342 100644 --- a/src/components/JExpandTable.vue +++ b/src/components/JExpandTable.vue @@ -227,7 +227,7 @@ export default { submit () { const arr = [] for (const i in this.dataSource) { - if (this.$refs[`ruleForm${i}`][0]) { + if (this.$refs[`ruleForm${i}`] && this.$refs[`ruleForm${i}`][0]) { this.$refs[`ruleForm${i}`][0].validate(valid => { arr[i] = valid })