Unverified 提交 e073b4c9 作者: ChenErik 提交者: GitHub

fix(echarts): add resize animation (#1950)

上级 554f4615
...@@ -79,7 +79,12 @@ export function useECharts( ...@@ -79,7 +79,12 @@ export function useECharts(
} }
function resize() { function resize() {
chartInstance?.resize(); chartInstance?.resize({
animation: {
duration: 300,
easing: 'quadraticIn',
},
});
} }
watch( watch(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论