控制台报错:ECharts] There is a chart instance already initialized on the dom.
let chart = echarts.getInstanceByDom(document.getElementById("four"));
// 如果不存在,就进行初始化
if (chart) {
chart.dispose();
}
chart = echarts.init(document.getElementById("four"));
let option = {};
。。。。。。。。。。
判断有没有,如果有,那就销毁,再重新渲染