router与route的区别 1.router是v-router的实例,是一个 全局的路由对象 ,包含了路由的 跳转的方法、钩子函数 等等。 2.route是一个局部的对象, 当前活跃的, 包含了 path 、 params 、query 、 matched 、 name 等路由信息参数