Vue-router 中的 $router 和 $route$routerpush() 跳转到一个路由,并压入历史堆栈$routeparams 取子路由的参数区别$route为当前router跳转对象里面可以获取name、path、query、params等router.push方法参考vue2.0 route的区别