echart. 同一个组件数据重绘

阅读 133

2023-01-24

watch: {
dataList: {
handler() {
if (this.chart) {
this.chart.dispose();
this.chart = null;
}
this.initChart();
},
deep: true,
// immediate: true
},
},

 



相关推荐

精彩评论(0)

0 0 举报