Explorar el Código

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

杨奕 hace 7 años
padre
commit
38e9b6eca6
Se han modificado 1 ficheros con 1 adiciones y 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();
       }
     },