fix(echarts): add resize animation (#1950)
This commit is contained in:
parent
554f4615a1
commit
e073b4c944
|
|
@ -79,7 +79,12 @@ export function useECharts(
|
|||
}
|
||||
|
||||
function resize() {
|
||||
chartInstance?.resize();
|
||||
chartInstance?.resize({
|
||||
animation: {
|
||||
duration: 300,
|
||||
easing: 'quadraticIn',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
watch(
|
||||
|
|
|
|||
Loading…
Reference in New Issue