diff --git a/src/components/GuipTable.vue b/src/components/GuipTable.vue index ef3b199..351f02d 100644 --- a/src/components/GuipTable.vue +++ b/src/components/GuipTable.vue @@ -121,7 +121,7 @@ export default { /* 确保表格有最小高度(避免高度塌陷) */ .el-table ::v-deep .el-table__body-wrapper { - min-height: 150px !important; + min-height: 162px !important; } .empty-image { diff --git a/src/style/theme/common.scss b/src/style/theme/common.scss index 4dcdd29..6fe95f2 100644 --- a/src/style/theme/common.scss +++ b/src/style/theme/common.scss @@ -205,6 +205,16 @@ body { } } +.el-table__body-wrapper::-webkit-scrollbar { + display: block !important; + width: 6px; + height: 6px; + } + .el-table__body-wrapper::-webkit-scrollbar-thumb { + background: #c1c1c1; + border-radius: 3px; + } + @keyframes fadeInOut { 0% { opacity: 0;