king
2025-03-07 a080be5ecbb3250ce3f57ddc7e0e843b4509a293
src/api/index.js
@@ -49,12 +49,14 @@
        onOk: () => {
          window.GLOB.$error = false
          
          if (!/#\/login/.test(window.location.href)) {
          sessionStorage.clear()
          if (!!(window.history && window.history.pushState)) {
            window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login')
            window.location.reload()
          }
        }
        }
      })
    }