fix: query catalog spec, default_version check

This commit is contained in:
jialin
2025-12-12 17:08:30 +08:00
parent cb43131ccb
commit 0500dd2e35
19 changed files with 86 additions and 23 deletions
+4 -1
View File
@@ -24,11 +24,14 @@ export const login = async (
};
export const logout = async (userInfo?: any) => {
await request(`${AUTH_API}/logout`, {
const res = await request(`${AUTH_API}/logout`, {
method: 'POST'
});
clearStorageUserSettings();
clearAtomStorage(userAtom);
if (res.logout_url) {
window.location.href = res.logout_url;
}
return;
};