fix: 修复 GiTable 表格右下角外部边框不完整的问题

This commit is contained in:
coderxslee
2025-04-03 08:07:31 +00:00
committed by Charles7c
parent 4b1486a158
commit 269266d261
2 changed files with 11 additions and 1 deletions

View File

@@ -61,7 +61,7 @@
v-bind="tableProps"
:stripe="stripe"
:size="size"
:bordered="{ cell: isBordered }"
:bordered="{ cell: isBordered, wrapper: isBordered }"
:columns="visibleColumns"
:scrollbar="true"
:data="data"
@@ -270,6 +270,11 @@ defineExpose({
height: 100%;
}
// 确保垂直滚动时右侧边框显示
:deep(.arco-table-scroll-y) {
border-right: 1px solid var(--color-border-table);
}
// 控制表格最后一行的下边框显示
:deep(.arco-table-border .arco-table-scroll-y .arco-table-body .arco-table-tr:last-of-type .arco-table-td,
.arco-table-border .arco-table-scroll-y tfoot .arco-table-tr:last-of-type .arco-table-td) {

View File

@@ -275,6 +275,11 @@
}
}
// 确保表格右侧边框显示
.arco-table-scroll-y {
border-right: 1px solid var(--color-border-table);
}
// 表格类名,高度自适应,分页始终固定在最底部
.gi_full_table {
flex: 1;