From df6cf70da41da25b7f9333188e7619e859c44545 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Tue, 3 Sep 2024 10:27:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8-=E5=9C=B0=E5=9B=BE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=B0=E5=9B=BE=E7=A9=BA=E5=80=BC=E5=A4=84?= =?UTF-8?q?=E7=90=86=E9=9A=90=E8=97=8F=E7=A9=BA=E5=80=BC=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/types/impl/l7plot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/types/impl/l7plot.ts b/core/core-frontend/src/views/chart/components/js/panel/types/impl/l7plot.ts index 8639d8a516..cc1aba1702 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/types/impl/l7plot.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/types/impl/l7plot.ts @@ -72,7 +72,7 @@ export abstract class L7PlotChartView< if (data[i].value === null) { data.splice(i, 1) } - for (let j = data[i].dynamicTooltipValue?.length - 1; j >= 0; j--) { + for (let j = data[i]?.dynamicTooltipValue?.length - 1; j >= 0; j--) { if (data[i].dynamicTooltipValue[j].value === null) { data[i].dynamicTooltipValue.splice(j, 1) }