Commit deff31bc5d915e4d3eebf8d625bee02e22e9fe75

Authored by Micah
Committed by GitHub
1 parent e09a797d

style: 优化滚动条显示,只有在内容超过显示高度时才会出现 (#1978)

src/components/Table/src/BasicTable.vue
... ... @@ -401,6 +401,10 @@
401 401 width: 100%;
402 402 overflow-x: hidden;
403 403  
  404 + .ant-table-body {
  405 + overflow: auto !important;
  406 + }
  407 +
404 408 &-title {
405 409 display: flex;
406 410 padding: 8px 6px;
... ...