feat: add search slots

This commit is contained in:
xingyu4j
2022-12-08 12:36:40 +08:00
parent c2a3d1240f
commit 078249677b
4 changed files with 12 additions and 12 deletions

View File

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