diff --git a/src/style/global-scrollbar.scss b/src/style/global-scrollbar.scss index 5db6c6a..4a1953c 100644 --- a/src/style/global-scrollbar.scss +++ b/src/style/global-scrollbar.scss @@ -32,3 +32,14 @@ height: 6px; background-color: $color-border-4; } + +// arco滚动条样式 +// 横向 +.arco-scrollbar-thumb-direction-horizontal .arco-scrollbar-thumb-bar { + height: 6px !important; +} + +// 纵向 +.arco-scrollbar-thumb-direction-vertical .arco-scrollbar-thumb-bar { + width: 6px !important; +} diff --git a/src/views/file/document-library/components/file-table.vue b/src/views/file/document-library/components/file-table.vue index 99ccbd0..f86c6a1 100644 --- a/src/views/file/document-library/components/file-table.vue +++ b/src/views/file/document-library/components/file-table.vue @@ -47,6 +47,7 @@ :bordered="{ cell: true }" + :scroll="{ x: '100%', y: '100%', minWidth: 1000 }" :loading="loading" :data="list" :row-selection="rowSelection" @@ -94,7 +95,7 @@ - +