From 85843a3816b5894ca625d33a6d12b2e020aeee49 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Tue, 10 Dec 2024 17:30:06 +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=E7=B1=BB=E5=9B=BE=E8=A1=A8=E5=9C=A8=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=85=8D=E7=BD=AE=E6=95=B4=E4=BD=93=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E9=85=8D=E7=BD=AE=E5=AD=97=E4=BD=93=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E6=97=A0=E6=95=88=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/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 4c329d2340..7173729042 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 @@ -65,7 +65,7 @@ export function getCustomTheme(chart: Chart): S2Theme { ) const scrollBarColor = DEFAULT_BASIC_STYLE.tableScrollBarColor const scrollBarHoverColor = resetRgbOpacity(scrollBarColor, 3) - const textFontFamily = chart.fontFamily ? chart.fontFamily : FONT_FAMILY + const textFontFamily = chart.fontFamily && chart.fontFamily !== 'inherit' ? chart.fontFamily : FONT_FAMILY const theme: S2Theme = { background: { color: '#00000000'