expand场景中嵌套子表格中含有固定列错位问题

This commit is contained in:
wanghaoo 2019-01-27 16:52:11 +08:00
parent f7a66d9ebd
commit 3d5ca6cf2b
4 changed files with 26 additions and 26 deletions

View File

@ -906,7 +906,8 @@ var Table = function (_Component) {
} else {
if (fixed) {
if (this.domWidthDiff > 0) {
innerBodyStyle.overflowX = 'auto';
headStyle.overflow = 'hidden';
innerBodyStyle.overflowX = 'auto'; //兼容expand场景、子表格含有固定列的场景
} else {
bodyStyle.marginBottom = '-' + scrollbarWidth + 'px';
}

44
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -781,7 +781,8 @@ class Table extends Component {
}else{
if(fixed){
if(this.domWidthDiff > 0){
innerBodyStyle.overflowX = 'auto';
headStyle.overflow = 'hidden';
innerBodyStyle.overflowX = 'auto'; //兼容expand场景、子表格含有固定列的场景
}else{
bodyStyle.marginBottom = `-${scrollbarWidth}px`;
}