fix: Table Title Error
This commit is contained in:
parent
e91d757169
commit
5c24a1c4c4
|
|
@ -25,10 +25,12 @@
|
||||||
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
||||||
<slot :name="item" v-bind="data || {}"></slot>
|
<slot :name="item" v-bind="data || {}"></slot>
|
||||||
</template>
|
</template>
|
||||||
|
<template #headerCell="{ column }">
|
||||||
<template #headerCell v-for="(column, index) in columns" :key="index">
|
|
||||||
<HeaderCell :column="column" />
|
<HeaderCell :column="column" />
|
||||||
</template>
|
</template>
|
||||||
|
<!-- <template #[`header-${column.dataIndex}`] v-for="(column, index) in columns" :key="index">-->
|
||||||
|
<!-- <HeaderCell :column="column" />-->
|
||||||
|
<!-- </template>-->
|
||||||
</Table>
|
</Table>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue