feat(auth): add remember-password login and clear local auth data card

This commit is contained in:
Supra4E8C
2025-12-31 20:04:32 +08:00
parent eadfd7a957
commit 3a66dc225d
7 changed files with 82 additions and 9 deletions

View File

@@ -7,6 +7,7 @@
export interface LoginCredentials {
apiBase: string;
managementKey: string;
rememberPassword?: boolean;
}
// 认证状态
@@ -14,6 +15,7 @@ export interface AuthState {
isAuthenticated: boolean;
apiBase: string;
managementKey: string;
rememberPassword: boolean;
serverVersion: string | null;
serverBuildDate: string | null;
}