From 224da64cc9a327d832d3c58f967e6b95a4d90b67 Mon Sep 17 00:00:00 2001 From: wisonic Date: Sun, 8 Sep 2024 16:08:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E5=85=B3=E9=97=AD=E8=A1=A8=E5=A4=B4=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E8=BF=98=E4=BC=9A=E6=98=BE=E7=A4=BA=E4=B8=80=E6=9D=A1?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4=E5=8D=95=E5=85=83=E6=A0=BC=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E7=9A=84=E6=A8=AA=E7=BA=BF?= 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 | 3 ++- 1 file changed, 2 insertions(+), 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 a5478e3e75..b7bfc48158 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 @@ -260,7 +260,8 @@ export function getCustomTheme(chart: Chart): S2Theme { } } merge(theme, tmpTheme) - if (tableHeader.showHorizonBorder === false) { + // 这边设置为 0 的话就会显示表头背景颜色,所以要判断一下表头是否关闭 + if (tableHeader.showHorizonBorder === false && tableHeader.showTableHeader !== false) { const tmpTheme = { splitLine: { horizontalBorderColor: tableHeaderBgColor,