Explorar o código

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

杨奕 %!s(int64=7) %!d(string=hai) anos
pai
achega
38e9b6eca6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
       }
     },