fix: echart color

This commit is contained in:
xingyu 2023-05-19 15:37:01 +08:00
parent 8b3980400a
commit 9f0065f89f

View File

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