소스 검색

ep-admin: fix: 修复表格与搜索框字段不能不一致的问题

(cherry picked from commit 9fba2886abdd650f5b1d39f0451e5891f501ee38)
YunaiV 2 년 전
부모
커밋
7c8794fc53
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/hooks/web/useCrudSchemas.ts

+ 2 - 0
src/hooks/web/useCrudSchemas.ts

@@ -29,6 +29,8 @@ type CrudSearchParams = {
   show?: boolean
   // 接口
   api?: () => Promise<any>
+  // 搜索字段
+  field?: string
 } & Omit<FormSchema, 'field'>
 
 type CrudTableParams = {