Skip to content

Commit d1953a6

Browse files
authored
Merge pull request #112 from Tencent/fix/chart-font-color
fix: 修复图表文字颜色异常
2 parents f14ee70 + 063ae54 commit d1953a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/store/modules/setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const useSettingStore = defineStore('setting', {
4545

4646
document.documentElement.setAttribute('theme-mode', isDarkMode ? 'dark' : '');
4747

48-
this.chartColor = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
48+
this.chartColors = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
4949
},
5050
changeBrandTheme(brandTheme: string) {
5151
document.documentElement.setAttribute('theme-color', brandTheme);

0 commit comments

Comments
 (0)