fix: Adjusted contentCompact without triggering ECharts resize (#3997)

pull/48/MERGE
Li Kui 2024-08-02 06:42:02 +08:00 committed by GitHub
parent 69f0703701
commit 9348d65420
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
() => preferences.sidebar.collapsed,
() => preferences.sidebar.extraCollapse,
() => preferences.sidebar.hidden,
() => preferences.app.contentCompact,
],
() => {
// 折叠动画200ms