sinake
6 天以前 1fa81f8c3c68b14e08554637eda80679f90b46ee
src/config/axios/service.ts
@@ -223,7 +223,9 @@
      removeToken()
      isRelogin.show = false
      // 干掉token后再走一次路由让它过router.beforeEach的校验
      window.location.href = window.location.href
      //window.location.href = window.location.href
      window.location.href ="/login"
    })
  }
  return Promise.reject(t('sys.api.timeoutMessage'))