From 063ae54e9b8ad36d0cdd5a0c92cf62c3ec2c5239 Mon Sep 17 00:00:00 2001 From: Uyarn Date: Wed, 6 Apr 2022 17:20:43 +0800 Subject: [PATCH] fix: chart font color --- src/store/modules/setting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/setting.ts b/src/store/modules/setting.ts index 755ea3e..72ab766 100644 --- a/src/store/modules/setting.ts +++ b/src/store/modules/setting.ts @@ -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);