滚动条宽度计算错误

This commit is contained in:
wanghaoo 2018-11-30 16:30:29 +08:00
parent 81a34d36fe
commit 0071d158ce
1 changed files with 1 additions and 1 deletions

View File

@ -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';
//显示表头滚动条