Skip to content

Commit 3af2f0e

Browse files
committed
Universal component - Fix slot definition inaccuracy
1 parent 78fde7c commit 3af2f0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/vue-data-ui.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ defineExpose({
358358
v-bind="relevantProps"
359359
v-on="getEventHandlers()"
360360
>
361-
<template v-for="(slotContent, slotName) in $slots" v-slot:[slotName]="slotProps">
362-
<slot :name="slotName" v-bind="slotProps">{{ slotContent }}</slot>
361+
<template v-for="(_slotContent, slotName) in $slots" v-slot:[slotName]="slotProps">
362+
<slot :name="slotName" v-bind="slotProps"></slot>
363363
</template>
364364
</component>
365-
</template>
365+
</template>

0 commit comments

Comments
 (0)