宽度不够自动补充
This commit is contained in:
parent
99fb072b58
commit
24ae6dae46
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -633,10 +633,10 @@ class Table extends Component {
|
|||
tableStyle.width = this.contentWidth;
|
||||
}
|
||||
}
|
||||
//自动出现滚动条
|
||||
// if(this.contentDomWidth < this.contentWidth){
|
||||
// tableStyle.width = this.contentWidth;
|
||||
// }
|
||||
// 自动出现滚动条
|
||||
if(this.contentDomWidth > this.contentWidth){
|
||||
tableStyle.width = this.contentDomWidth;
|
||||
}
|
||||
const tableBody = hasBody ? getBodyWrapper(
|
||||
<tbody className={`${clsPrefix}-tbody`}>
|
||||
{this.getRows(columns, fixed)}
|
||||
|
|
Loading…
Reference in New Issue