fix: Table Title Error

This commit is contained in:
JinMao 2022-03-15 14:27:16 +08:00
parent e91d757169
commit 5c24a1c4c4
1 changed files with 4 additions and 2 deletions

View File

@ -25,10 +25,12 @@
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
<slot :name="item" v-bind="data || {}"></slot>
</template>
<template #headerCell v-for="(column, index) in columns" :key="index">
<template #headerCell="{ column }">
<HeaderCell :column="column" />
</template>
<!-- <template #[`header-${column.dataIndex}`] v-for="(column, index) in columns" :key="index">-->
<!-- <HeaderCell :column="column" />-->
<!-- </template>-->
</Table>
</div>
</template>