index.vue 214 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 <template> <ElButton v-bind="$attrs"> <template v-for="(_, name) in $slots" :key="name" #[name]="slotData"> <slot :name="name" v-bind="{ ...slotData }"></slot> </template> </ElButton> </template>