From 4f33dab65cf87e9931c5bf0f1ecf582e95e447b1 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Tue, 2 Jul 2024 20:14:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E5=80=BC=E8=BE=85=E5=8A=A9=E7=BA=BF=E6=98=BE=E7=A4=BA=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= 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 f90601bc27..eace7b904a 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 @@ -680,7 +680,7 @@ export function getAnalyse(chart: Chart) { chart.type.includes('chart-mix'))) ) }) - const lines = fixedLines.concat(dynamicLines) + const lines = fixedLines.concat(dynamicLines || []) lines.forEach(ele => { const value = parseFloat(ele.value) const content =