fix:添加判断 处理报错信息

This commit is contained in:
zhangyu
2020-09-30 17:50:35 +08:00
parent afa858c795
commit 3a6c5259ff

View File

@@ -1699,7 +1699,9 @@
},
beforeDestroy() {
this.clearChart();
getChart(this.chartIndex).dispose();
if(getChart(this.chartIndex)){
getChart(this.chartIndex).dispose();
}
if(!document.onmousemove){// 移除鼠标移动事件监听
document.onmousemove=null;
}