Skip to content

Commit 9fba288

Browse files
committed
ep-admin: fix: 修复表格与搜索框字段不能不一致的问题
1 parent 44c1847 commit 9fba288

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hooks/web/useCrudSchemas.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ type CrudSearchParams = {
2929
show?: boolean
3030
// 接口
3131
api?: () => Promise<any>
32+
// 搜索字段
33+
field?: string
3234
} & Omit<FormSchema, 'field'>
3335

3436
type CrudTableParams = {

0 commit comments

Comments
 (0)