摘要: $route为当前router跳转对象 里面可以获取name、path、query、params等 $router为VueRouter实例,想要导航到不同URL,则使用$router.push方法 返回上一个history也是使用$router.go方法 总结:感觉$route是$router的子集 阅读全文
posted @ 2018-07-04 17:46 王红娇 阅读(235) 评论(0) 推荐(0)