This commit is contained in:
kailong321200875 2024-06-20 15:18:11 +08:00
parent 9f98b7be26
commit c77586c567
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@ const filterSearchSchema = (crudSchema: CrudSchema[]): FormSchema[] => {
for (let i = 0; i < length; i++) {
const schemaItem = crudSchema[i]
if (schemaItem.search?.hidden === true) {
continue
}
// 判断是否隐藏
const searchSchemaItem = {
component: schemaItem?.search?.component || 'Input',