Skip to content

Commit ff3b309

Browse files
committed
fix: remove scroll listener
1 parent 6e44a3f commit ff3b309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/GlobalHeader/GlobalHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default {
101101
}
102102
},
103103
beforeDestroy () {
104-
document.body.removeEventListener('scrool', this.handScroll)
104+
document.body.removeEventListener('scroll', this.handleScroll, true)
105105
}
106106
}
107107
</script>

0 commit comments

Comments
 (0)