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() } } } }) }