Parcourir la source

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

杨奕 il y a 7 ans
Parent
commit
74eaaf7eca
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
       },