diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index 873cb0a..79b7ef8 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -951,8 +951,8 @@ export default { } .custom-table-body { - max-height: 500px; - overflow-y: auto; + /* max-height: 500px; */ + /* overflow-y: auto; */ /* 可根据需要调整或由父组件控制 */ } @@ -1035,7 +1035,8 @@ export default { flex-direction: column; max-width: 100%; /* 父容器决定宽度 */ - overflow-x: auto; + overflow: auto; + max-height: 500px; } .custom-table-header,