vue中$route和$router的区别有哪些
vue中$route和$router的区别: 1.$router是路由实例,而$route为当前router跳转对象; 2.$route包括path、params、hash、query、fullPath、matched、name等路由信息参...
vue中$route和$router的区别: 1.$router是路由实例,而$route为当前router跳转对象; 2.$route包括path、params、hash、query、fullPath、matched、name等路由信息参...