美文网首页
$route和$router的区别

$route和$router的区别

作者: Tz1314 | 来源:发表于2019-08-12 20:27 被阅读0次

$route是“路由信息对象”,包括path,params,hash,query,fullPath,matched,name等路由信息参数。而$router是“路由实例”对象包括了路由的跳转方法,钩子函数等

相关文章

网友评论

      本文标题:$route和$router的区别

      本文链接:https://www.haomeiwen.com/subject/siypjctx.html