mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-11 06:57:10 +08:00
fix: 修复 GiTable 插槽类型不完全问题(同步 GiDemo 更新)
This commit is contained in:
@@ -29,8 +29,7 @@
|
|||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<template #content>
|
<template #content>
|
||||||
<a-doption v-for="item in sizeList" :key="item.value" :value="item.value" :active="item.value === size">
|
<a-doption v-for="item in sizeList" :key="item.value" :value="item.value" :active="item.value === size">
|
||||||
{{
|
{{ item.label }}
|
||||||
item.label }}
|
|
||||||
</a-doption>
|
</a-doption>
|
||||||
</template>
|
</template>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
@@ -125,6 +124,10 @@ defineSlots<{
|
|||||||
'expand-row': (props: { record: T }) => void
|
'expand-row': (props: { record: T }) => void
|
||||||
'expand-icon': (props: { record: T, expanded?: boolean }) => void
|
'expand-icon': (props: { record: T, expanded?: boolean }) => void
|
||||||
'columns': () => void
|
'columns': () => void
|
||||||
|
'custom-title': () => void
|
||||||
|
'top': () => void
|
||||||
|
'toolbar-left': () => void
|
||||||
|
'toolbar-right': () => void
|
||||||
[propsName: string]: (props: { key: string, record: T, column: TableColumnData, rowIndex: number }) => void
|
[propsName: string]: (props: { key: string, record: T, column: TableColumnData, rowIndex: number }) => void
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user