refactor: 登录页面 UI 新增邮箱登录模式

This commit is contained in:
2023-09-28 19:33:19 +08:00
parent 3f92660e9f
commit a5a4cd4964
6 changed files with 237 additions and 35 deletions

View File

@@ -6,10 +6,11 @@ const BASE_URL = '/auth';
export interface LoginReq {
phone?: string;
username: string;
password: string;
email?: string;
username?: string;
password?: string;
captcha: string;
uuid: string;
uuid?: string;
}
export interface LoginRes {