Commit e128e28721818569b0b65b64cf96434c99a2a81a

Authored by Aresn
Committed by GitHub
2 parents 69745a3c a18ffad6

Merge pull request #3698 from Baoyx007/patch-3

fix(table): TableHeader will get wrong width totally, when column width props is S…
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/table/table.vue
... ... @@ -848,6 +848,7 @@
848 848 columns.forEach((column, index) => {
849 849 column._index = index;
850 850 column._columnKey = columnKey++;
  851 + column.width = parseInt(column.width);
851 852 column._width = column.width ? column.width : ''; // update in handleResize()
852 853 column._sortType = 'normal';
853 854 column._filterVisible = false;
... ...