From 6242b14aabadd52dc1fca29cda417f5de20189c0 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Wed, 28 May 2025 13:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=8B=E6=8B=89=E5=A4=9A?= =?UTF-8?q?=E9=80=89bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/public/form/form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue index 9d9d8f1..dc6a26a 100644 --- a/src/components/DesignForm/public/form/form.vue +++ b/src/components/DesignForm/public/form/form.vue @@ -982,7 +982,7 @@ function showOrHide(data: any) { for (let j = 0; j < checkboxShowConfigArr2[i].length; j++) { //console.log(j) //console.log(checkboxShowConfigArr2[i][j].showFields) - if (checkboxShowConfigArr2[i][j].showFields.length > 0) { + if (checkboxShowConfigArr2[i][j].showFields&&checkboxShowConfigArr2[i][j].showFields.length > 0) { for (let n = 0; n < checkboxShowConfigArr2[i][j].showFields.length; n++) { let fieldKeyArr = checkboxShowConfigArr2[i][j].showFields[n].split(":"); let fieldKeyStr = fieldKeyArr[fieldKeyArr.length - 1];