|
|
@@ -134,6 +134,7 @@ router.beforeEach((to, _from, next) => {
|
|
|
authStore
|
|
|
.getInfo()
|
|
|
.then(() => {
|
|
|
+ isReLogin.show = false
|
|
|
if (to.path.search("/redirect-tenant") == 0) {
|
|
|
next({ ...to, replace: true })
|
|
|
} else {
|
|
|
@@ -143,6 +144,7 @@ router.beforeEach((to, _from, next) => {
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
+ isReLogin.show = false
|
|
|
authStore.logout().then(() => {
|
|
|
message.msgError(err)
|
|
|
next({ path: import.meta.env.VITE_APP_CONTEXT_PATH + "home" })
|