切换页面保存页面原有的位置信息keep-alive savedPosition meta
摘要:1 只有在mode:'history'模式生效;savedPosition,这个功能只在支持history.pushState额浏览器中可用。(通过浏览器的前进/后退 按钮触发) new Router({ scrollBehavior (to, from, savedPosition) { if (
阅读全文
posted @
2021-06-15 18:34
半夏微澜ぺ
阅读(698)
推荐(0) 编辑