diff --git a/src/components/ListLayout/index.vue b/src/components/ListLayout/index.vue index 793156b..1c74afd 100644 --- a/src/components/ListLayout/index.vue +++ b/src/components/ListLayout/index.vue @@ -55,6 +55,8 @@ export default { padding: 0 20px; background: #fff; min-height: 0; /* 确保 flex 子元素可以收缩 */ + overflow-x: auto; /* 确保横向滚动条显示 */ + overflow-y: auto; /* 确保纵向滚动条显示 */ } /* 固定分页区域 */ @@ -89,9 +91,9 @@ export default { background: #a8a8a8; } -/* 确保表格在容器内正确显示 */ +/* 确保表格在容器内正确显示,允许横向滚动 */ .table-section .el-table { - width: 100%; + min-width: 100%; } /* 分页组件样式优化 */ diff --git a/src/views/system/jdorder/orderList.vue b/src/views/system/jdorder/orderList.vue index 9547d41..e3caf2d 100644 --- a/src/views/system/jdorder/orderList.vue +++ b/src/views/system/jdorder/orderList.vue @@ -50,7 +50,7 @@