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