From 7564754b137a125a93c6a4ea0d357f4b871a4abc Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Fri, 22 Nov 2024 09:36:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=8A=98=E7=BA=BF=E5=9B=BE=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=A0=B7=E5=BC=8F=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?=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/js/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/util.ts b/core/core-frontend/src/views/chart/components/js/util.ts index ee73bdf6a8..380c686828 100644 --- a/core/core-frontend/src/views/chart/components/js/util.ts +++ b/core/core-frontend/src/views/chart/components/js/util.ts @@ -1080,8 +1080,8 @@ export function getLineConditions(chart) { const { threshold } = parseJson(chart.senior) const conditions = [] if (threshold.enable) { - threshold.lineThreshold.forEach(item => - item.conditions.forEach(c => + threshold.lineThreshold?.forEach(item => + item.conditions?.forEach(c => conditions.push({ fieldId: item.fieldId, term: c.term,