调整table滚动兼顾使用滚动条
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user