From 8e140fd0d79f50b9fcd2409f18ae6df478a091f4 Mon Sep 17 00:00:00 2001 From: wisonic Date: Tue, 3 Dec 2024 17:50:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=9B=98=E9=A2=9C=E8=89=B2=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88?= 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 312a7a824d..fae27788cf 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 @@ -147,9 +147,7 @@ export function getTheme(chart: Chart) { } } if (chart.fontFamily) { - theme.styleSheet = { - fontFamily: chart.fontFamily - } + theme.styleSheet.fontFamily = chart.fontFamily } return theme }