|
@@ -53,7 +53,7 @@ export default {
|
|
|
handler(newVal) {
|
|
|
const chartDom = document.getElementById(this.id);
|
|
|
// 先移除之前的实例,保证重绘的流畅性
|
|
|
- console.log(newVal, "11111");
|
|
|
+ // console.log(newVal, "11111");
|
|
|
chartDom.removeAttribute("_echarts_instance_");
|
|
|
this.myChart = markRaw(echarts.init(chartDom));
|
|
|
collectionStatistics.xAxis.data = newVal.time;
|