Prechádzať zdrojové kódy

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

杨奕 7 rokov pred
rodič
commit
74eaaf7eca
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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;
       },