src/api/index.js
@@ -59,6 +59,11 @@ const setCurrentUrl = () => { if (!!(window.history && window.history.pushState)) { if (window.location.href.indexOf('paramsmain') > -1) { let _href = window.location.href.split('#') localStorage.setItem(_href[0] + 'paramsmain', _href[1]) } sessionStorage.clear() window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login') window.location.reload()