mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复 health 接口报错
This commit is contained in:
1 parent
47c194c1f4
commit
394e96bbf8
2 files changed
+3
-1
No files matched your search
@@ -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