如果带参数跳转的页面是tag下的页面时,切换tag不会路由切换,切换tag页时url上的参数还是会在,切换时去掉跳转时带的参数用:

location.replace(location.href.replace(location.hash, `#${this.$route.path}`))
`#${this.$route.path}`里面的#不能去掉

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2022-02-22
  • 2021-04-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-03-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案