$route是“路由信息对象”,包括pathparamshashqueryfullPathmatchedname等路由信息参数。

$router是“路由实例”对象包括了路由的跳转方法钩子函数等。

$route和$router的区别

相关文章: