fix: 拖拽列宽动态出滚动条

This commit is contained in:
izbz wh 2019-04-10 11:07:07 +08:00
parent 6ce443ff74
commit ead958b881
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class TableHeader extends Component {
const newTableWidth = this.drag.tableWidth + diff +'px';
this.table.table.style.width = newTableWidth;//改变table的width
this.table.innerTableBody.style.width = newTableWidth ;
let showScroll = contentDomWidth - newTableWidth - scrollbarWidth ;
let showScroll = contentDomWidth - (this.drag.tableWidth + diff) - scrollbarWidth ;
//表头滚动条处理
if(headerScroll){