Browse Source

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

杨奕 7 years ago
parent
commit
38e9b6eca6
1 changed files with 1 additions and 1 deletions
  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();
       }
     },