From abb8427d5a288beb005bc5011df6db7828dc4c9a Mon Sep 17 00:00:00 2001 From: yaojn Date: Tue, 20 May 2025 14:37:57 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E8=81=94=E5=8A=A8=E8=AE=BE=E7=BD=AE=EF=BC=8C=E4=B8=8D=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E8=A7=84=E5=88=99=E6=B7=BB=E5=8A=A0=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E5=88=A4=E6=96=AD=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/TsSheet/form/conditionexpression/exclude.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js b/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js index b823fdfd..f308e4fb 100644 --- a/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js +++ b/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js @@ -28,7 +28,7 @@ export default (currentValue, oldValue, condition) => { } else if ((typeof currentValue == 'string' || typeof currentValue == 'number') && currentValue.indexOf(conditionValue) == -1) { isExclude = true; } else if (typeof currentValue === 'object') { - if (currentValue[uuid].indexOf(conditionValueList) === -1) { + if (currentValue[uuid] && (currentValue[uuid].indexOf(conditionValueList) === -1)) { isExclude = true; } } -- Gitee