[Fix][UI Next][V1.0.0-Alpha] Add light color theme to echarts. (#9381)
parent
3457cee960
commit
e2c36324b3
|
|
@ -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…
Reference in New Issue