Browse Source

fix: form item slot context fixed (#5552)

* 修复表单插槽
pull/5553/head
Netfan 1 year ago
committed by GitHub
parent
commit
c07281bf41
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/@core/ui-kit/form-ui/src/form-render/form-field.vue

2
packages/@core/ui-kit/form-ui/src/form-render/form-field.vue

@ -336,7 +336,7 @@ function autofocus() {
>
<VbenRenderContent
:content="customContentRender[name]"
v-bind="{ ...renderSlotProps, $formContext: slotProps }"
v-bind="{ ...renderSlotProps, formContext: slotProps }"
/>
</template>
<!-- <slot></slot> -->

Loading…
Cancel
Save