data() {
return {
myChart: null
}
},
if (this.myChart != null && this.myChart!= "" && this.myChart!= undefined) {
this.myChart.dispose();
}
this.myChart = this.$echarts.init(document.getElementById('myChart'))
data() {
return {
myChart: null
}
},
if (this.myChart != null && this.myChart!= "" && this.myChart!= undefined) {
this.myChart.dispose();
}
this.myChart = this.$echarts.init(document.getElementById('myChart'))
本文标题:vue echarts 动态获取参数并渲染
本文链接:https://www.haomeiwen.com/subject/vmjtiltx.html
网友评论