mounted() {
this.$nextTick(() => {
setTimeout(() => {
window.scrollTo({ top: 657, behavior: "smooth" })
}, 200)
})
},
// top滚动位置
vue:进入页面自动滚动相应位置
最新推荐文章于 2024-05-31 11:22:18 发布
mounted() {
this.$nextTick(() => {
setTimeout(() => {
window.scrollTo({ top: 657, behavior: "smooth" })
}, 200)
})
},
// top滚动位置