Skip to content

Commit 169d35d

Browse files
committed
fix: anchor mount to mounted
1 parent 5b269cb commit 169d35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/anchor/Anchor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export default {
121121
}
122122
},
123123

124-
mount () {
124+
mounted () {
125125
this.$nextTick(() => {
126126
const { getContainer } = this
127127
this.scrollEvent = addEventListener(getContainer(), 'scroll', this.handleScroll)

0 commit comments

Comments
 (0)