添加注释

This commit is contained in:
yangchch6 2019-08-07 16:38:56 +08:00
parent 19e8d670e3
commit a916adc042
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ class Table extends Component {
this.resetScrollX();
}
// fix:模态框中使用table计算的滚动条宽度为0的bug
// fix:表格首次渲染时 display:none再显示时未重新计算导致表行出现错位的bug
if(this.scrollbarWidth<=0 && this.props.scroll.y){
this.scrollbarWidth = measureScrollbar();
}