mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 18:40:37 +08:00
修复启动逻辑
This commit is contained in:
1 parent
ec3d61a713
commit
472a3088df
4 files changed
+34
-18
No files matched your search
@@ -110,7 +110,10 @@ export default function () {
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
history.push('/error');
|
||||
const responseStatus = error.response.status;
|
||||
if (responseStatus !== 401) {
|
||||
history.push('/error');
|
||||
}
|
||||
})
|
||||
.finally(() => setInitLoading(false));
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user