diff --git a/src/Table.js b/src/Table.js index f64f1a1..17540ff 100644 --- a/src/Table.js +++ b/src/Table.js @@ -675,7 +675,7 @@ class Table extends Component { useFixedHeader = true; // Add negative margin bottom for scroll bar overflow bug - const scrollbarWidth = this.scrollbarWidth ?this.scrollbarWidth: 15; + const scrollbarWidth = this.scrollbarWidth; if (scrollbarWidth >= 0) { (fixed ? bodyStyle : headStyle).paddingBottom = '0px'; //显示表头滚动条