king
2020-08-28 71a0e75ecb56ae643fe1e86188d45f93f48388c9
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()