调整table滚动兼顾使用滚动条

This commit is contained in:
2024-08-05 01:11:06 +08:00
parent bc464398c7
commit f9bbba68b4

View File

@@ -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)