摘要: 原因是vue-router 使用了路由的 history 模式,这种模式充分利用 history.pushState API 来完成 URL 跳转而无须重新加载页面。 const router = new VueRouter({ mode: 'history', routes: [...] }) 需 阅读全文
posted @ 2019-07-08 18:47 前端南玖 阅读(1932) 评论(0) 推荐(0) 编辑