this.$router.beforeEach((to,from,next)=>{
window,scrollTo(0,0)
next()
})
vue 解决A跳转B返回A时 A无法置顶问题
最新推荐文章于 2024-08-08 23:04:40 发布
this.$router.beforeEach((to,from,next)=>{
window,scrollTo(0,0)
next()
})