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

git-as-svn/v1/dev
Amy0104 2022-04-07 17:35:17 +08:00 committed by GitHub
parent 3457cee960
commit e2c36324b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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