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 }