Commit c07281bf by Netfan Committed by GitHub

fix: form item slot context fixed (#5552)

* 修复表单插槽
1 parent 24bad09c
...@@ -336,7 +336,7 @@ function autofocus() { ...@@ -336,7 +336,7 @@ function autofocus() {
> >
<VbenRenderContent <VbenRenderContent
:content="customContentRender[name]" :content="customContentRender[name]"
v-bind="{ ...renderSlotProps, $formContext: slotProps }" v-bind="{ ...renderSlotProps, formContext: slotProps }"
/> />
</template> </template>
<!-- <slot></slot> --> <!-- <slot></slot> -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!