diff --git a/src/components/AiTable.vue b/src/components/AiTable.vue index ee9340d..4662f78 100644 --- a/src/components/AiTable.vue +++ b/src/components/AiTable.vue @@ -160,7 +160,6 @@ export default { mounted() { //添加监听滚动条事件 window.addEventListener('scroll', this.handleScroll, true) }, - destroyed() { //移除(跳转页面后移除) window.removeEventListener('scroll', this.handleScroll, true) },