Merge pull request #112 from Tencent/fix/chart-font-color

fix: 修复图表文字颜色异常
This commit is contained in:
PY 2022-04-06 18:53:56 +08:00 committed by GitHub
commit d1953a6ab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ export const useSettingStore = defineStore('setting', {
document.documentElement.setAttribute('theme-mode', isDarkMode ? 'dark' : '');
this.chartColor = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
this.chartColors = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
},
changeBrandTheme(brandTheme: string) {
document.documentElement.setAttribute('theme-color', brandTheme);