diff --git a/src/utils/inject.js b/src/utils/inject.js index 1548b68..b19ce63 100644 --- a/src/utils/inject.js +++ b/src/utils/inject.js @@ -190,7 +190,6 @@ Vue.component("scrollTable", { }, beforeDestroy() { this.stopAutoScroll() - this.scroll?.destroy() const dom = this.$el.querySelector('.el-table__body-wrapper') dom.removeEventListener("mouseover", this.stopAutoScroll) dom.removeEventListener("mouseout", this.autoScroll)