From dd2d7609020e791d364c491d67bd3fe9ff0e28f0 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Fri, 1 Nov 2024 18:13:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=83=AD=E5=8A=9B=E5=9B=BE=E7=BC=BA=E5=B0=91=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=97=B6=EF=BC=8C=E5=9B=BE=E8=A1=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/chart/components/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index bddce2d40f..98d33832f2 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -627,7 +627,7 @@ const checkFieldIsAllowEmpty = (allField?) => { if ( !value['allowEmpty'] && value['limit'] && - view.value?.[key]?.length < parseInt(value['limit']) + (!view.value?.[key] || view.value?.[key]?.length < parseInt(value['limit'])) ) { showEmpty.value = true return false