fix:嵌套场景,错行问题
This commit is contained in:
parent
0613edbc05
commit
ce44da845b
|
@ -1093,7 +1093,7 @@ var Table = function (_Component) {
|
||||||
if (fixed) {
|
if (fixed) {
|
||||||
if (this.domWidthDiff > 0) {
|
if (this.domWidthDiff > 0) {
|
||||||
headStyle.overflow = 'hidden';
|
headStyle.overflow = 'hidden';
|
||||||
innerBodyStyle.overflowX = 'auto'; //兼容expand场景、子表格含有固定列的场景
|
// innerBodyStyle.overflowX = 'auto'; //兼容expand场景、子表格含有固定列的场景
|
||||||
} else {
|
} else {
|
||||||
bodyStyle.marginBottom = '-' + scrollbarWidth + 'px';
|
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -938,7 +938,7 @@ class Table extends Component {
|
||||||
if(fixed){
|
if(fixed){
|
||||||
if(this.domWidthDiff > 0){
|
if(this.domWidthDiff > 0){
|
||||||
headStyle.overflow = 'hidden';
|
headStyle.overflow = 'hidden';
|
||||||
innerBodyStyle.overflowX = 'auto'; //兼容expand场景、子表格含有固定列的场景
|
// innerBodyStyle.overflowX = 'auto'; //兼容expand场景、子表格含有固定列的场景
|
||||||
}else{
|
}else{
|
||||||
bodyStyle.marginBottom = `-${scrollbarWidth}px`;
|
bodyStyle.marginBottom = `-${scrollbarWidth}px`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue