Ver Fonte

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

杨奕 há 7 anos atrás
pai
commit
38e9b6eca6
1 ficheiros alterados com 1 adições e 1 exclusões
  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();
       }
     },