1
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
6e66b77857
commit
7f18e717b7
|
@ -153,9 +153,9 @@ export default {
|
||||||
clearInterval(this.timer);
|
clearInterval(this.timer);
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
}
|
}
|
||||||
// let data = {
|
let data = {
|
||||||
// IdentityUserId: this.form.IdentityUserId,
|
// IdentityUserId: this.form.IdentityUserId,
|
||||||
// };
|
};
|
||||||
if (this.status === "lock") {
|
if (this.status === "lock") {
|
||||||
data.MfaType = 1;
|
data.MfaType = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,6 +85,7 @@ router.beforeEach(async (to, from, next) => {
|
||||||
router.addRoutes(accessRoutes)
|
router.addRoutes(accessRoutes)
|
||||||
next({ ...to, replace: true })
|
next({ ...to, replace: true })
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.log(error)
|
||||||
// 删除token并进入登录页面以重新登录
|
// 删除token并进入登录页面以重新登录
|
||||||
await store.dispatch('user/resetToken')
|
await store.dispatch('user/resetToken')
|
||||||
next(`/login?redirect=${to.path}`)
|
next(`/login?redirect=${to.path}`)
|
||||||
|
|
Loading…
Reference in New Issue