fix:计算滚动条的宽度
This commit is contained in:
parent
5604daa355
commit
cf304dca9c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -159,9 +159,9 @@ class Table extends Component {
|
|||
EventUtil.addHandler(this.contentTable,'focus',this.onFocus);
|
||||
setTimeout(this.resetScrollX, 300);
|
||||
//含有纵向滚动条
|
||||
if(this.props.scroll.y){
|
||||
// if(this.props.scroll.y){
|
||||
this.scrollbarWidth = measureScrollbar();
|
||||
}
|
||||
// }
|
||||
//后续也放在recevice里面
|
||||
if (!this.props.originWidth) {
|
||||
this.computeTableWidth();
|
||||
|
|
Loading…
Reference in New Issue