Ver Fonte

feat: add search slots

xingyu4j há 2 anos atrás
pai
commit
e25d9a8981
1 ficheiros alterados com 1 adições e 0 exclusões
  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)