Table: fix#21366.Table fixed height calculated incorrectly

pull/21376/head
voidWh 2021-10-10 00:32:29 +09:00
parent 492ab00ad7
commit 1142c8e6fc
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class TableLayout {
flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth - noneFirstWidth;
}
} else { // HAVE HORIZONTAL SCROLL BAR
} else if (bodyWidth) { // HAVE HORIZONTAL SCROLL BAR
this.scrollX = true;
flexColumns.forEach(function(column) {
column.realWidth = column.minWidth;