浏览代码

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