Sfoglia il codice sorgente

case 可能为null

visuddhinanda 2 anni fa
parent
commit
fc3b7c4ee1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;