1、
document.getElementById(id).removeAttribute('_echarts_instance_')
2、
let myChart = this.$echarts.init(document.getElementById('xxx')) myChart.setOption(option)
1、
document.getElementById(id).removeAttribute('_echarts_instance_')
2、
let myChart = this.$echarts.init(document.getElementById('xxx')) myChart.setOption(option)
转载于:https://www.cnblogs.com/ronle/p/11174163.html