vue页面跳转展示最底下


1
2
3
router.afterEach((to, from, next) => {
window.scrollTo(0, 0)
})