From d298b6ec289b8d89adc0f58ff75132a0cc7b8725 Mon Sep 17 00:00:00 2001 From: wisonic Date: Mon, 4 Nov 2024 16:29:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E5=A4=9A=E9=80=89?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=BF=BD=E7=95=A5=20null=20=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts index 9d7beb60d6..66e32524da 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts @@ -1035,7 +1035,7 @@ export function copyContent(s2Instance: SpreadSheet, event, fieldMeta) { if (metaObj) { fieldVal = metaObj.formatter(value) } - if (fieldVal === undefined) { + if (fieldVal === undefined || fieldVal === null) { fieldVal = '' } if (index !== arr.length - 1) {