This commit is contained in:
2025-03-23 18:14:36 +08:00
parent c16c1b3ce4
commit be6d7091c3
8 changed files with 9 additions and 101 deletions

View File

@@ -21,6 +21,9 @@ export const pollLoginStatus = async (token: string, opts: PollLoginOptions) =>
load.load(
async () => {
const res = await queryLogin.checkLoginStatus(token);
if (res.code === 500) {
load.cancel('check-login-status');
}
return res;
},
{