king
2025-03-07 7bd32f8351b615c28770be1696b16f0253dc3917
src/api/index.js
@@ -60,12 +60,14 @@
          localStorage.removeItem('role_id')
          localStorage.removeItem('mk_user_type')
          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()
          }
        }
        }
      })
    }