NEZ-1914 perf:dashboard页面销毁前清除tooltip联动
This commit is contained in:
@@ -1121,6 +1121,9 @@ export default {
|
|||||||
if (!document.onmousemove) { // 添加鼠标移动事件监听
|
if (!document.onmousemove) { // 添加鼠标移动事件监听
|
||||||
document.onmousemove = null
|
document.onmousemove = null
|
||||||
}
|
}
|
||||||
|
this.$store.commit('setCurrentMousemove', 0)
|
||||||
|
this.$store.commit('setConnect', 'none')
|
||||||
|
echarts.disconnect('timeSeriesGroup')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ const panel = {
|
|||||||
// 查看模式
|
// 查看模式
|
||||||
mode: '',
|
mode: '',
|
||||||
// timeSeries类型图表联动
|
// timeSeries类型图表联动
|
||||||
isConnect: false,
|
isConnect: 'none',
|
||||||
// 当前鼠标所在的图表id
|
// 当前鼠标所在的图表id
|
||||||
currentMousemove: 0
|
currentMousemove: 0
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user