Browse Source

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

杨奕 7 năm trước cách đây
mục cha
commit
74eaaf7eca
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
       },