mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
修复 health 接口报错
This commit is contained in:
@@ -113,6 +113,8 @@ export default function () {
|
||||
const responseStatus = error.response.status;
|
||||
if (responseStatus !== 401) {
|
||||
history.push('/error');
|
||||
} else {
|
||||
window.location.reload();
|
||||
}
|
||||
})
|
||||
.finally(() => setInitLoading(false));
|
||||
|
||||
Reference in New Issue
Block a user