Przeglądaj źródła

case 可能为null

visuddhinanda 3 lat temu
rodzic
commit
fc3b7c4ee1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      dashboard/src/pages/admin/relation/list.tsx

+ 2 - 2
dashboard/src/pages/admin/relation/list.tsx

@@ -67,7 +67,7 @@ export const CaseValueEnum = () => {
 export interface IRelationRequest {
 export interface IRelationRequest {
   id?: string;
   id?: string;
   name: string;
   name: string;
-  case?: string;
+  case?: string | null;
   to?: string[];
   to?: string[];
   editor?: IUser;
   editor?: IUser;
   updated_at?: string;
   updated_at?: string;
@@ -90,7 +90,7 @@ export interface IRelation {
   sn?: number;
   sn?: number;
   id?: string;
   id?: string;
   name: string;
   name: string;
-  case?: string;
+  case?: string | null;
   to?: string[];
   to?: string[];
   updatedAt?: number;
   updatedAt?: number;
   createdAt?: number;
   createdAt?: number;