mirror of https://github.com/ElemeFE/element
Table: update resizeState when updateColumnsWidth (#10338)
parent
dcf0488a3e
commit
5b41b1a789
|
@ -159,6 +159,7 @@ class TableLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.bodyWidth = Math.max(bodyMinWidth, bodyWidth);
|
this.bodyWidth = Math.max(bodyMinWidth, bodyWidth);
|
||||||
|
this.table.resizeState.width = this.bodyWidth;
|
||||||
} else {
|
} else {
|
||||||
flattenColumns.forEach((column) => {
|
flattenColumns.forEach((column) => {
|
||||||
if (!column.width && !column.minWidth) {
|
if (!column.width && !column.minWidth) {
|
||||||
|
|
Loading…
Reference in New Issue