js中使用 window.location.href="xxxx"来进行跳转 在vue中,使用this. $router.push(''xxxx'')来进行跳转 注意: this.$route.query....是用来获取url的信息, this.$router.push...是来跳转网页的