Browse Source

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

3.0.0/version-upgrade
Amy0104 3 years ago committed by GitHub
parent
commit
e2c36324b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui-next/src/components/chart/index.ts

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

Loading…
Cancel
Save