Browse Source

[Fix][UI Next][V1.0.0-Alpha] Add light color theme to echarts. (#9381)

Amy0104 3 years ago
parent
commit
e2c36324b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dolphinscheduler-ui-next/src/components/chart/index.ts

+ 1 - 1
dolphinscheduler-ui-next/src/components/chart/index.ts

@@ -38,7 +38,7 @@ function initChart<Opt extends ECBasicOption>(
   const init = () => {
     chart = globalProperties?.echarts.init(
       domRef.value,
-      themeStore.darkTheme && 'dark-bold'
+      themeStore.darkTheme ? 'dark-bold' : 'macarons'
     )
     chart && chart.setOption(option)
   }