Преглед изворни кода

Table: update column width before updating height (#10236)

杨奕 пре 7 година
родитељ
комит
38e9b6eca6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/table/src/table.vue

+ 1 - 1
packages/table/src/table.vue

@@ -438,10 +438,10 @@
       },
 
       doLayout() {
+        this.layout.updateColumnsWidth();
         if (this.shouldUpdateHeight) {
           this.layout.updateElsHeight();
         }
-        this.layout.updateColumnsWidth();
       }
     },