diff --git a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue index a89214689..25dd93b94 100644 --- a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue +++ b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue @@ -385,6 +385,8 @@ export default { } this.renderMinMax(opts) if (getChart(this.chartId)) { + const over = getChart(this.chartId).over + over.removeEventListener('mouseenter', this.uplotMouseenter) getChart(this.chartId).destroy() } setTimeout(() => { // 延迟加载 保证legend的高度正常