Skip to content

Commit 4b5536a

Browse files
committed
fix: 修复 GiTable 插槽类型不完全问题(同步 GiDemo 更新)
1 parent 4dbe918 commit 4b5536a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/GiTable/index.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
</a-tooltip>
3030
<template #content>
3131
<a-doption v-for="item in sizeList" :key="item.value" :value="item.value" :active="item.value === size">
32-
{{
33-
item.label }}
32+
{{ item.label }}
3433
</a-doption>
3534
</template>
3635
</a-dropdown>
@@ -125,6 +124,10 @@ defineSlots<{
125124
'expand-row': (props: { record: T }) => void
126125
'expand-icon': (props: { record: T, expanded?: boolean }) => void
127126
'columns': () => void
127+
'custom-title': () => void
128+
'top': () => void
129+
'toolbar-left': () => void
130+
'toolbar-right': () => void
128131
[propsName: string]: (props: { key: string, record: T, column: TableColumnData, rowIndex: number }) => void
129132
}>()
130133

0 commit comments

Comments
 (0)