소스 검색

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

杨奕 7 년 전
부모
커밋
74eaaf7eca
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
       },