From 0071d158ce1527d640d0954e4152df5ff5f9b755 Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Fri, 30 Nov 2018 16:30:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; //显示表头滚动条