Browse Source

Pull request #2146: 无JIRA任务 优化一下

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '32b5b62de498851d8737ee6a7861e218a3371eb3':
  整理代码
es6
guy 3 years ago
parent
commit
457cd76df7
  1. 2
      src/base/list/virtualgrouplist.js

2
src/base/list/virtualgrouplist.js

@ -107,9 +107,7 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, {
}
}
this.bottomBlank.setHeight(this.tree.sumTo(this.renderedIndex) - this.tree.sumTo(Math.min(end, this.renderedIndex)));
this.container.element.height(this.container.element.height());
this.container.populate(items);
this.container.element.height("auto");
} else {
for (var i = (start < 0 ? 0 : start); i <= end; i++) {
var index = i * o.blockSize;

Loading…
Cancel
Save