diff --git a/src/components/affix/affix.vue b/src/components/affix/affix.vue index 85102309..c0716d8c 100644 --- a/src/components/affix/affix.vue +++ b/src/components/affix/affix.vue @@ -82,7 +82,7 @@ on(window, 'resize', this.handleScroll); this.$nextTick(() => { this.handleScroll(); - }) + }); }, beforeDestroy () { // window.removeEventListener('scroll', this.handleScroll, false);