mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-11 16:57:09 +08:00
fix: 修复 GiTable 表格右下角外部边框不完整的问题
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
v-bind="tableProps"
|
v-bind="tableProps"
|
||||||
:stripe="stripe"
|
:stripe="stripe"
|
||||||
:size="size"
|
:size="size"
|
||||||
:bordered="{ cell: isBordered }"
|
:bordered="{ cell: isBordered, wrapper: isBordered }"
|
||||||
:columns="visibleColumns"
|
:columns="visibleColumns"
|
||||||
:scrollbar="true"
|
:scrollbar="true"
|
||||||
:data="data"
|
:data="data"
|
||||||
@@ -270,6 +270,11 @@ defineExpose({
|
|||||||
height: 100%;
|
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,
|
: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) {
|
.arco-table-border .arco-table-scroll-y tfoot .arco-table-tr:last-of-type .arco-table-td) {
|
||||||
|
@@ -275,6 +275,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 确保表格右侧边框显示
|
||||||
|
.arco-table-scroll-y {
|
||||||
|
border-right: 1px solid var(--color-border-table);
|
||||||
|
}
|
||||||
|
|
||||||
// 表格类名,高度自适应,分页始终固定在最底部
|
// 表格类名,高度自适应,分页始终固定在最底部
|
||||||
.gi_full_table {
|
.gi_full_table {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
Reference in New Issue
Block a user