Browse Source

fix: echart color

xingyu 1 year ago
parent
commit
9f0065f89f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Echart/src/Echart.vue

+ 1 - 1
src/components/Echart/src/Echart.vue

@@ -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
 })