Parcourir la source

fix: echart color

(cherry picked from commit 9f0065f89f312b4003f2b2154728a537c499c7b6)
xingyu il y a 2 ans
Parent
commit
f26c72ced9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
 })