Преглед изворни кода

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