滚动条宽度计算错误
This commit is contained in:
parent
81a34d36fe
commit
0071d158ce
|
@ -675,7 +675,7 @@ class Table extends Component {
|
||||||
useFixedHeader = true;
|
useFixedHeader = true;
|
||||||
|
|
||||||
// Add negative margin bottom for scroll bar overflow bug
|
// Add negative margin bottom for scroll bar overflow bug
|
||||||
const scrollbarWidth = this.scrollbarWidth ?this.scrollbarWidth: 15;
|
const scrollbarWidth = this.scrollbarWidth;
|
||||||
if (scrollbarWidth >= 0) {
|
if (scrollbarWidth >= 0) {
|
||||||
(fixed ? bodyStyle : headStyle).paddingBottom = '0px';
|
(fixed ? bodyStyle : headStyle).paddingBottom = '0px';
|
||||||
//显示表头滚动条
|
//显示表头滚动条
|
||||||
|
|
Loading…
Reference in New Issue