$route:$route是“路由信息对象”,包括 path ,params , hash , query , fullPath , matched , name 等路由信息参数 。
$router :$router 是 VueRouter 的实例,相当于一个全局的路由器对象,里面包含很多属性和子对象,例如 history 对象,经常用的跳转链接就可以用 this.router.push 会往 history 栈中添加一个新记录。返回上一个 history 也是使用 $router.go 方法。