From 461dd3218f0ed652b4997d9c8bc7217f44aea270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Mon, 10 Aug 2026 10:11:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E5=85=A8=E9=AB=98=E8=A1=A8=E6=A0=BC=E5=90=8E=20=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=95=B0=E6=8D=AE=E5=B0=91=E6=97=B6=20=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=8F=B3=E4=BE=A7=E7=9A=84=E8=BE=B9=E6=A1=86=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=20https://gitee.com/dromara/RuoYi-Vue-Plus/issues/IK7?= =?UTF-8?q?IFQ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/vendors/element-plus/_table.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/assets/styles/vendors/element-plus/_table.scss b/src/assets/styles/vendors/element-plus/_table.scss index 9460df69..c2e05c9c 100644 --- a/src/assets/styles/vendors/element-plus/_table.scss +++ b/src/assets/styles/vendors/element-plus/_table.scss @@ -54,6 +54,19 @@ html.dark { border-right: 0; } +// 全高表格的外壳会延伸到分页区域,左边框改由实际表头/数据行首列绘制,避免少量数据时边框悬空。 +.el-table.is-full-height-table.el-table--border { + border-left: 0; + + > .el-table__inner-wrapper > .el-table__header-wrapper, + > .el-table__inner-wrapper > .el-table__body-wrapper, + > .el-table__inner-wrapper > .el-table__footer-wrapper { + tr > .el-table__cell:first-child { + border-left: var(--el-table-border); + } + } +} + // --- 表格内操作列:固定宽按钮、下拉链接色 --- .el-table .fixed-width .el-button--small { padding-left: 0;