Skip to content

Commit

Permalink
fix[element-plus]: fix header slot name
Browse files Browse the repository at this point in the history
  • Loading branch information
cc-hearts committed Mar 16, 2024
1 parent 834ab9c commit f7a53ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ defineExpose({ getDataSource, ...exposeRowSelectionFactory() })
:prop="item.prop"
:label="item.label"
>
<template v-if="item.labelSlot" #label>
<template v-if="item.labelSlot" #header>
<slot :name="item.labelSlot.name" />
</template>
<template v-if="item.slot" #default="row">
Expand Down

0 comments on commit f7a53ad

Please sign in to comment.