摘要: 很多情况下,我们在执行点击按钮跳转页面之前还会执行一系列方法,这时可以使用 this.$router.push(location) 来修改 url,完成跳转。 1,push 后面可以是对象,也可以是字符串: // 字符串this.$router.push('/home/first')// 对象thi 阅读全文