mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-12 04:30:53 +08:00
fix: 解决密码过期后重定向到登录页的问题 (#990)
This commit is contained in:
parent
740b4c52d2
commit
ab523b6879
1 changed files with 0 additions and 1 deletions
|
|
@ -50,7 +50,6 @@ class RequestHttp {
|
||||||
return Promise.reject(data);
|
return Promise.reject(data);
|
||||||
}
|
}
|
||||||
if (data.code == ResultEnum.EXPIRED) {
|
if (data.code == ResultEnum.EXPIRED) {
|
||||||
globalStore.setLogStatus(false);
|
|
||||||
router.push({ name: 'Expired' });
|
router.push({ name: 'Expired' });
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue