摘要: const router = new VueRouter({ routes: [...], scrollBehavior(to, from, savedPosition) { if (savedPosition) { return savedPosition } else { return { x: 阅读全文
posted @ 2020-05-09 09:50 男孩亮亮 阅读(260) 评论(0) 推荐(0) 编辑