Selaa lähdekoodia

Table: shouldUpdateHeight should be true when maxHeight is set (#10034)

杨奕 7 vuotta sitten
vanhempi
commit
74eaaf7eca
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      packages/table/src/table.vue

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

@@ -456,6 +456,7 @@
 
       shouldUpdateHeight() {
         return this.height ||
+          this.maxHeight ||
           this.fixedColumns.length > 0 ||
           this.rightFixedColumns.length > 0;
       },