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

@@ -924,7 +924,7 @@
*/
},
beforeDestroy(){
let el = this.$refs.promTable.$el.querySelector(".el-table__body-wrapper");
let el = this.$refs.alertListTable.$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));