🔱: [client] sync upgrade with 3 commits [trident-sync]

Merge remote-tracking branch 'origin/main'
feat: 重构search,支持search.validatedForm直接修改查询表单数据,修复tab变化后清空查询表单的bug

https://github.com/fast-crud/fast-crud/issues/215
pull/14/head
GitHub Actions Bot 2023-08-03 19:24:08 +00:00
parent de1494710a
commit b8eb27441c
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,7 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
delRequest
},
search: {
autoSearch: false,
initialForm: {
radio: null
},
@ -78,6 +79,11 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
search: { show: true },
type: "dict-radio",
dict: statusRef
},
text: {
title: "文本",
search: { show: true },
type: "text"
}
}
}