可以在vue路由新增scrollBehavior,控制跳转页面高度

import Router from 'vue-router'

new Router({

scrollBehavior (to, from, savedPosition) {

return { x: 0, y: 0 }

}

})

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2021-07-03
  • 2021-05-31
  • 2021-10-06
  • 2022-12-23
猜你喜欢
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-08-27
相关资源
相似解决方案