소스 검색

fix: Fix wrong max height in fixed table

liril 7 년 전
부모
커밋
8d9aaac41f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/table/src/table.vue

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

@@ -433,6 +433,8 @@
             maxHeight -= this.layout.headerHeight;
           }
 
+          maxHeight -= this.layout.footerHeight;
+
           style = {
             'max-height': maxHeight + 'px'
           };