浏览代码

Merge branch 'develop' into feature/4666

Dustin Utecht 6 年之前
父节点
当前提交
ee460e74ff
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/extensions/treegrid/bootstrap-table-treegrid.js

+ 3 - 1
src/extensions/treegrid/bootstrap-table-treegrid.js

@@ -32,7 +32,9 @@ $.BootstrapTable = class extends $.BootstrapTable {
   }
 
   initBody (...args) {
-    this.options.virtualScroll = !this.treeEnable
+    if (this.treeEnable) {
+      this.options.virtualScroll = false
+    }
     super.initBody(...args)
   }