Explorar el Código

id userName nickName 必填

visuddhinanda hace 3 años
padre
commit
7fb50db77e
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      dashboard/src/components/api/Auth.ts

+ 3 - 3
dashboard/src/components/api/Auth.ts

@@ -7,9 +7,9 @@ export interface IUserRequest {
   avatar?: string;
   avatar?: string;
 }
 }
 export interface IUserApiData {
 export interface IUserApiData {
-  id?: string;
-  userName?: string;
-  nickName?: string;
+  id: string;
+  userName: string;
+  nickName: string;
   avatar?: string;
   avatar?: string;
 }
 }
 export interface IUserListResponse {
 export interface IUserListResponse {