feat(desktop): implement phase 2 native capabilities
Client Quality Gates / Shared client and Web (push) Has been cancelled
Client Quality Gates / macOS Desktop (push) Has been cancelled

This commit is contained in:
Cheng Zhou
2026-06-30 21:21:55 +08:00
parent 7c721d4e5c
commit 628ff8828b
64 changed files with 3516 additions and 222 deletions
+3 -3
View File
@@ -60,8 +60,8 @@ const checkHealth = async (baseUrl: string) => {
}
};
const clearSessionForServerChange = () => {
auth.logout();
const clearSessionForServerChange = async () => {
await auth.logout();
studyStore.clearCurrentStudy();
};
@@ -83,7 +83,7 @@ const save = async () => {
return;
}
if (previous !== result.url) {
clearSessionForServerChange();
await clearSessionForServerChange();
}
ElMessage.success("服务器连接已确认");
router.replace("/login");