feat:关于回到顶部的事件解绑

This commit is contained in:
zhangyu
2020-11-20 15:52:06 +08:00
parent f21f48c104
commit 3cea2cf3d8
14 changed files with 92 additions and 49 deletions

View File

@@ -865,7 +865,7 @@
bus.$off('alert-message-change')
},
beforeDestroy(){
let el = this.$refs.promTable.$el.querySelector(".el-table__body-wrapper");
let el = this.$refs.endpointTable.$el.querySelector(".el-table__body-wrapper");
if (el._ps_) {
el.removeEventListener("ps-scroll-y", this.plpsscrolly.bind('',el,this));
el.removeEventListener("mouseenter", this.plmouseenter.bind('',el,this));