Skip to content
Permalink
Browse files

menu-scroll的load闭环

  • Loading branch information...
Lu Chaohai
Lu Chaohai committed Apr 10, 2019
1 parent cfacb7d commit 884a693ed7356c1038b5e8ce82a6925853179af4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/layout/header-aside/components/menu-header/index.vue
@@ -117,6 +117,7 @@ export default {
beforeDestroy () {
// 取消监听
window.removeEventListener('resize', this.throttledCheckScroll)
window.removeEventListener('load', this.checkScroll)
}
}
</script>

0 comments on commit 884a693

Please sign in to comment.
You can’t perform that action at this time.