$route:路由规定,存储以后路由的一些数据
$router:VueRouter的实例,这个路由对象提供了路由相干的办法(push,replace,beforeEach,faterEach等等)