This commit is contained in:
dap
2025-02-04 18:40:47 +08:00
8 changed files with 86 additions and 74 deletions

View File

@@ -329,10 +329,14 @@ function autofocus() {
v-bind="createComponentProps(slotProps)"
:disabled="shouldDisabled"
>
<template v-for="name in renderContentKey" :key="name" #[name]>
<template
v-for="name in renderContentKey"
:key="name"
#[name]="renderSlotProps"
>
<VbenRenderContent
:content="customContentRender[name]"
v-bind="slotProps"
v-bind="{ ...renderSlotProps, $formContext: slotProps }"
/>
</template>
<!-- <slot></slot> -->