From 295d0fe7c651589fd89b6bdab719d54952bab579 Mon Sep 17 00:00:00 2001 From: wisonic Date: Wed, 17 Jul 2024 17:40:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=9D=A1=E5=BD=A2=E5=9B=BE=E8=BE=85=E5=8A=A9=E7=BA=BF=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=B8=B2=E6=9F=93=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_antv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index eace7b904a..5bc9e3f96f 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -751,7 +751,7 @@ export function getAnalyseHorizontal(chart: Chart) { dynamicLineFields?.includes(item.fieldId) && !!_.find(quotaFields, d => d.id === item.fieldId) ) - const lines = fixedLines.concat(dynamicLines) + const lines = fixedLines.concat(dynamicLines || []) lines.forEach(ele => { const value = parseFloat(ele.value)