if (this.$store.state.previousRouter.name) {
          this.$router.push({name: this.$store.state.previousRouter.name});
}

  PS:this.$store.state.previousRouter.name  为上一级路由。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2022-01-03
  • 2023-03-05
  • 2022-12-23
  • 2021-11-16
猜你喜欢
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案