fix: echart color
parent
8b3980400a
commit
9f0065f89f
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue