From 9348d654206ed085a9c6a8cc719b7d9513d40833 Mon Sep 17 00:00:00 2001 From: Li Kui <90845831+likui628@users.noreply.github.com> Date: Fri, 2 Aug 2024 06:42:02 +0800 Subject: [PATCH] fix: Adjusted contentCompact without triggering ECharts resize (#3997) --- packages/effects/chart-ui/src/echarts/use-echarts.ts | 1 + 1 file changed, 1 insertion(+) 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