ChenErik
2022-06-16 e073b4c9443894457c7463bb43f918b508c4bc9a
fix(echarts): add resize animation (#1950)

1个文件已修改
7 ■■■■ 已修改文件
src/hooks/web/useECharts.ts 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/hooks/web/useECharts.ts
@@ -79,7 +79,12 @@
  }
  function resize() {
    chartInstance?.resize();
    chartInstance?.resize({
      animation: {
        duration: 300,
        easing: 'quadraticIn',
      },
    });
  }
  watch(