expand场景中嵌套子表格中含有固定列错位问题
This commit is contained in:
parent
f7a66d9ebd
commit
3d5ca6cf2b
|
@ -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';
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue