fix:添加判断 处理报错信息
This commit is contained in:
@@ -1699,7 +1699,9 @@
|
|||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.clearChart();
|
this.clearChart();
|
||||||
getChart(this.chartIndex).dispose();
|
if(getChart(this.chartIndex)){
|
||||||
|
getChart(this.chartIndex).dispose();
|
||||||
|
}
|
||||||
if(!document.onmousemove){// 移除鼠标移动事件监听
|
if(!document.onmousemove){// 移除鼠标移动事件监听
|
||||||
document.onmousemove=null;
|
document.onmousemove=null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user