Skip to content

Commit 7dee412

Browse files
Fix header slot name
1 parent f3327d2 commit 7dee412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugin/slots/HeadersSlot.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
>
77
<!-- Column Dynamic Name Header Slot -->
88
<th
9-
v-if="slots[`column.${column.key}`]"
9+
v-if="slots[`column.${column.key}`] || slots[`header.${column.key}`]"
1010
:class="cellClasses(column, column.key)"
1111
:colspan="column.colspan || 1"
1212
:style="cellStyles(column, true)"
1313
>
1414
<slot
1515
:column="column"
16-
:name="`column.${column.key}`"
16+
:name="`header.${column.key}`"
1717
/>
1818
</th>
1919
<!-- Column Render `data-table-group` -->

0 commit comments

Comments
 (0)