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

This commit is contained in:
ChenErik 2022-06-16 19:04:30 +08:00 committed by GitHub
parent 554f4615a1
commit e073b4c944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -79,7 +79,12 @@ export function useECharts(
}
function resize() {
chartInstance?.resize();
chartInstance?.resize({
animation: {
duration: 300,
easing: 'quadraticIn',
},
});
}
watch(