menu-scroll的load闭环

Former-commit-id: 3b77e62fab4ebcc6240c5583921109cb440ac040 [formerly 3b77e62fab4ebcc6240c5583921109cb440ac040 [formerly 3b77e62fab4ebcc6240c5583921109cb440ac040 [formerly 3b77e62fab4ebcc6240c5583921109cb440ac040 [formerly b23640838d125a94b88f1f1251a58ab7ee8192b4 [formerly 95206821db3f98a24808708e18b6f3229f5c5081]]]]]
Former-commit-id: b418bd5953c02fc5a128edaea6814a82f759a0b4
Former-commit-id: f653dd9ca82a56576dd70ac5c41f84766c77c8aa
Former-commit-id: 4b9dd2a4dabc9c475eaa0aaff2d6a803a869ac18 [formerly 11ee19bc2f6791a9a2f755123e021c39ae238498]
Former-commit-id: 2d897b6562f9cc25db215868600c9e0750abc995
Former-commit-id: 064842b388029046538160bec1e4da87c29d97af
Former-commit-id: 877956cf441d92621e67a9827296afb15e0aa887
Former-commit-id: 4c4d5278eafde4bbf84eae6f5991f17de3228856
Former-commit-id: 73e53f2f1768b12320346573f277b0f9fc4521c7
This commit is contained in:
Lu Chaohai
2019-04-10 08:46:46 +08:00
parent 16efba90cf
commit f6d665e276

View File

@@ -117,6 +117,7 @@ export default {
beforeDestroy () {
// 取消监听
window.removeEventListener('resize', this.throttledCheckScroll)
window.removeEventListener('load', this.checkScroll)
}
}
</script>