1.push 常用

this.$router.push()

2.replace 不会在浏览器得历史记录中加,只会替代掉最后一条记录(这个比较好用)

this.$router.replace()

3.go

this.$router.go()
this.$router.back(-1)
Logo

前往低代码交流专区

更多推荐