fix: anchor mount to mounted

This commit is contained in:
tangjinzhou 2018-06-04 18:37:23 +08:00
parent 46b4cd5d43
commit bc780db039

View File

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