Browse Source

无jira任务:调整下add items的顺序

es6
Kira 5 years ago
parent
commit
f271d21982
  1. 2
      src/case/loader/loader.list.js

2
src/case/loader/loader.list.js

@ -100,8 +100,8 @@ BI.ListLoader = BI.inherit(BI.Widget, {
addItems: function (items) {
this.count += items.length;
if (BI.isObject(this.next)) {
this.options.items = this.options.items.concat(items);
if (this.hasNext()) {
this.options.items = this.options.items.concat(items);
this.next.setLoaded();
} else {
this.next.setEnd();

Loading…
Cancel
Save