feat: add search slots

pull/2/head
xingyu4j 2022-12-08 12:39:23 +08:00
parent 9315ac0bec
commit e25d9a8981
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => {
itemRender: schemaItem.itemRender ? schemaItem.itemRender : itemRender, itemRender: schemaItem.itemRender ? schemaItem.itemRender : itemRender,
field: schemaItem.field, field: schemaItem.field,
title: schemaItem.search?.title || schemaItem.title, title: schemaItem.search?.title || schemaItem.title,
slots: schemaItem.search?.slots,
span: span span: span
} }
searchSchema.push(searchSchemaItem) searchSchema.push(searchSchemaItem)