소스 검색

fix: echart color

(cherry picked from commit 9f0065f89f312b4003f2b2154728a537c499c7b6)
xingyu 2 년 전
부모
커밋
f26c72ced9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 })