if(this.chart != null && this.chart != "" && this.chart != undefined) {
this.chart.dispose();//销毁
}
this.chart = this.$echarts.init(
document.getElementById("chart" + index)
);
echarts图表销毁
于 2022-09-06 16:17:21 首次发布
if(this.chart != null && this.chart != "" && this.chart != undefined) {
this.chart.dispose();//销毁
}
this.chart = this.$echarts.init(
document.getElementById("chart" + index)
);