mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-08-30 18:59:51 +08:00
fix(table): 修复table设置expand后多一列object的问题
This commit is contained in:
parent
06b40c9c15
commit
57e815940b
@ -22,7 +22,7 @@
|
|||||||
<expand-column :config="item" :key="columnIndex"></expand-column>
|
<expand-column :config="item" :key="columnIndex"></expand-column>
|
||||||
</template>
|
</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>
|
<el-table-column type="selection" :key="columnIndex" width="40" :selectable="item.selectable"></el-table-column>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -95,6 +95,7 @@ export default defineComponent({
|
|||||||
/** 是否显示表头 */
|
/** 是否显示表头 */
|
||||||
showHeader: {
|
showHeader: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 空数据时显示的文本内容 */
|
/** 空数据时显示的文本内容 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user