RuoYi
2026-03-25 385fc50c19c08920217759734f8fd134bc44d8d2
优化快速点击页签刷新出现404问题
1 files modified
4 ■■■■ changed files
ruoyi-ui/src/plugins/tab.js 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/plugins/tab.js
@@ -5,6 +5,10 @@
  // 刷新当前tab页签
  refreshPage(obj) {
    const { path, query, matched } = router.currentRoute
    // 防止在重定向过程中重复刷新
    if (path.startsWith('/redirect/')) {
      return Promise.resolve()
    }
    if (obj === undefined) {
      matched.forEach((m) => {
        if (m.components && m.components.default && m.components.default.name) {