Browse Source

fix: Fix wrong max height in fixed table

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