فهرست منبع

fix: form item slot context fixed (#5552)

* 修复表单插槽
Netfan 1 ماه پیش
والد
کامیت
c07281bf41
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/@core/ui-kit/form-ui/src/form-render/form-field.vue

+ 1 - 1
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> -->