fix(图表): 修复仪表盘颜色配置不生效

This commit is contained in:
wisonic
2024-12-03 17:50:39 +08:00
parent e65f78f9dc
commit 8e140fd0d7

View File

@@ -147,9 +147,7 @@ export function getTheme(chart: Chart) {
}
}
if (chart.fontFamily) {
theme.styleSheet = {
fontFamily: chart.fontFamily
}
theme.styleSheet.fontFamily = chart.fontFamily
}
return theme
}