修复-日志检索-滚动监听事件未销毁问题
This commit is contained in:
@@ -218,6 +218,7 @@ export default {
|
||||
// js提供的clearInterval方法用来清除定时器
|
||||
// console.log('定时任务销毁')
|
||||
clearInterval(this.timer)
|
||||
window.removeEventListener('scroll', this.handleScroll)
|
||||
},
|
||||
methods: {
|
||||
initLabelOptions() { // 获取lables
|
||||
@@ -374,6 +375,7 @@ export default {
|
||||
} else {
|
||||
this.$notify({
|
||||
title: '警告',
|
||||
duration: 1000,
|
||||
message: '暂无以往日志数据!',
|
||||
type: 'warning'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user