1. 可以采用<router-link/>标签进行直接跳转
2. this.$router.push({ path: '/' })
3. this.$router.go(-1)
4.this.$router.replace({ path: '/' })
具体说明如下
1. 可以采用<router-link/>标签进行直接跳转
2. this.$router.push({ path: '/' })
3. this.$router.go(-1)
4.this.$router.replace({ path: '/' })
具体说明如下