parent
6cb3ac70ad
commit
f26c72ced9
@ -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
Block a user