diff --git a/packages/effects/chart-ui/src/echarts/use-echarts.ts b/packages/effects/chart-ui/src/echarts/use-echarts.ts index bc51ad2f..071138fa 100644 --- a/packages/effects/chart-ui/src/echarts/use-echarts.ts +++ b/packages/effects/chart-ui/src/echarts/use-echarts.ts @@ -100,6 +100,7 @@ function useEcharts(chartRef: Ref) { () => preferences.sidebar.collapsed, () => preferences.sidebar.extraCollapse, () => preferences.sidebar.hidden, + () => preferences.app.contentCompact, ], () => { // 折叠动画200ms