Explorar o código

feat: add search slots

xingyu4j %!s(int64=2) %!d(string=hai) anos
pai
achega
e25d9a8981
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts

+ 1 - 0
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts

@@ -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)