fix: anchor mount to mounted
parent
46b4cd5d43
commit
bc780db039
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue