mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-16 18:54:43 +08:00
fix: 恢复密码过期跳转 (#1252)
This commit is contained in:
parent
05e5f06cf1
commit
75fa498a7c
@ -49,6 +49,10 @@ class RequestHttp {
|
|||||||
});
|
});
|
||||||
return Promise.reject(data);
|
return Promise.reject(data);
|
||||||
}
|
}
|
||||||
|
if (data.code == ResultEnum.EXPIRED) {
|
||||||
|
router.push({ name: 'Expired' });
|
||||||
|
return data;
|
||||||
|
}
|
||||||
if (data.code == ResultEnum.ERRIP) {
|
if (data.code == ResultEnum.ERRIP) {
|
||||||
globalStore.setLogStatus(false);
|
globalStore.setLogStatus(false);
|
||||||
router.push({
|
router.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user