Commit e25d9a8981f78eb6cf13547c44ef08200f288e71
1 parent
9315ac0b
feat: add search slots
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
| @@ -155,6 +155,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { | @@ -155,6 +155,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { | ||
| 155 | itemRender: schemaItem.itemRender ? schemaItem.itemRender : itemRender, | 155 | itemRender: schemaItem.itemRender ? schemaItem.itemRender : itemRender, |
| 156 | field: schemaItem.field, | 156 | field: schemaItem.field, |
| 157 | title: schemaItem.search?.title || schemaItem.title, | 157 | title: schemaItem.search?.title || schemaItem.title, |
| 158 | + slots: schemaItem.search?.slots, | ||
| 158 | span: span | 159 | span: span |
| 159 | } | 160 | } |
| 160 | searchSchema.push(searchSchemaItem) | 161 | searchSchema.push(searchSchemaItem) |