echarts 清除上一次加载的数据 let echarts = require('echarts'); let myChart = echarts.init(document.getElementById('main')); myChart.clear() // 清除画布