this.$router 实际上就是全局路由对象任何页面都可以调用 push(), go()等方法;

this.$route  表示当前正在用于跳转的路由器对象,可以调用其name、path、query、params等属性。

 

相关文章: