fix: echart color

(cherry picked from commit 9f0065f89f)
This commit is contained in:
xingyu 2023-05-19 15:37:01 +08:00 committed by shizhong
parent 6cb3ac70ad
commit f26c72ced9

View File

@ -27,7 +27,7 @@ const props = defineProps({
const isDark = computed(() => appStore.getIsDark)
const theme = computed(() => {
const echartTheme: boolean | string = unref(isDark) ? true : 'inherit'
const echartTheme: boolean | string = unref(isDark) ? true : 'auto'
return echartTheme
})