fix(table): 修复table设置expand后多一列object的问题

This commit is contained in:
roymondchen 2022-04-07 17:41:57 +08:00 committed by jia000
parent 06b40c9c15
commit 57e815940b

View File

@ -22,7 +22,7 @@
<expand-column :config="item" :key="columnIndex"></expand-column>
</template>
<template v-if="item.selection">
<template v-else-if="item.selection">
<el-table-column type="selection" :key="columnIndex" width="40" :selectable="item.selectable"></el-table-column>
</template>
@ -95,6 +95,7 @@ export default defineComponent({
/** 是否显示表头 */
showHeader: {
type: Boolean,
default: true,
},
/** 空数据时显示的文本内容 */