Skip to content

Commit c722232

Browse files
committed
!446 fix(table): column设置hide,expand展开内容错位
* fix(table): column设置hide,expand展开内容错位
1 parent 8d95f44 commit c722232

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/component/component/table/TableData.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ const checkboxProps = computed(() => {
641641
</tr>
642642

643643
<tr class="layui-table-cell-expand" v-if="slot.expand && isExpand">
644-
<td class="layui-table-cell" :colspan="columns.length">
644+
<td class="layui-table-cell" :colspan="tableColumnKeys.length">
645645
<slot name="expand" :data="data" :row="data"></slot>
646646
</td>
647647
</tr>

packages/component/component/table/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const { t } = useI18n();
7070
const slot = useSlots();
7171
const tableRef = ref();
7272
73-
const s = "";
7473
const allChecked = ref(false);
7574
const hasChecked = ref(false);
7675
const tableDataSource = ref<any[]>([...props.dataSource]);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy