瀏覽代碼

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'
           };