fix: anchor mount to mounted

pull/177/head
tangjinzhou 2018-06-04 18:37:23 +08:00
parent 46b4cd5d43
commit bc780db039
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ export default {
} }
}, },
mount () { mounted () {
this.$nextTick(() => { this.$nextTick(() => {
const { getContainer } = this const { getContainer } = this
this.scrollEvent = addEventListener(getContainer(), 'scroll', this.handleScroll) this.scrollEvent = addEventListener(getContainer(), 'scroll', this.handleScroll)