From b7ed5b39e22119148376b8da37f4d5d8efdf5c62 Mon Sep 17 00:00:00 2001 From: ulleo Date: Mon, 29 Jan 2024 14:48:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E5=8D=A1>=E9=AB=98=E7=BA=A7>=E9=98=88=E5=80=BC=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E7=A6=81=E7=94=A8=E5=90=8E=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E5=8D=A1=E7=9A=84=E6=95=B0=E5=80=BC=E9=A2=9C=E8=89=B2=E4=BE=9D?= =?UTF-8?q?=E7=84=B6=E6=98=BE=E7=A4=BA=E9=98=88=E5=80=BC=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/indicator/DeIndicator.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/indicator/DeIndicator.vue b/core/core-frontend/src/custom-component/indicator/DeIndicator.vue index 3b51c055e9..4242a34d4b 100644 --- a/core/core-frontend/src/custom-component/indicator/DeIndicator.vue +++ b/core/core-frontend/src/custom-component/indicator/DeIndicator.vue @@ -90,7 +90,11 @@ const thresholdColor = computed(() => { return color } const value = result.value - if (view.value.senior && view.value.senior.threshold?.labelThreshold?.length > 0) { + if ( + view.value.senior && + view.value.senior.threshold?.enable && + view.value.senior.threshold?.labelThreshold?.length > 0 + ) { const senior = view.value.senior for (let i = 0; i < senior.threshold.labelThreshold.length; i++) { let flag = false