Merge pull request #3698 from Baoyx007/patch-3
fix(table): TableHeader will get wrong width totally, when column width props is S…
This commit is contained in:
commit
e128e28721
1 changed files with 1 additions and 0 deletions
|
@ -848,6 +848,7 @@
|
|||
columns.forEach((column, index) => {
|
||||
column._index = index;
|
||||
column._columnKey = columnKey++;
|
||||
column.width = parseInt(column.width);
|
||||
column._width = column.width ? column.width : ''; // update in handleResize()
|
||||
column._sortType = 'normal';
|
||||
column._filterVisible = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue