vue中$router和$route的区别

149 阅读1分钟

this.$router操作路由push()

this.$route获取路由信息,获取query参数params