1.跳转到上一次页面
this.$router.go(-1)
2.指定跳转的地址
this.$router.replace('路径')
3.指定跳转路由的名字下
this.$router.replace({name:'路由名'})
4.通过push跳转
this.$router.push('路径')
this.$router.push({name:'路由名'})
1.跳转到上一次页面
this.$router.go(-1)
2.指定跳转的地址
this.$router.replace('路径')
3.指定跳转路由的名字下
this.$router.replace({name:'路由名'})
4.通过push跳转
this.$router.push('路径')
this.$router.push({name:'路由名'})