Browse Source

Merge pull request #110635 in DEC/fineui from master to feature/x

* commit 'bec87868408d7a8453d151f08bc4e1ae2e620327':
  无JRIA fix: bi.list_pane 回调后tiptext处理
es6
superman 2 years ago
parent
commit
deb76b7451
  1. 6
      src/case/layer/pane.list.js

6
src/case/layer/pane.list.js

@ -47,11 +47,15 @@ BI.ListPane = BI.inherit(BI.Pane, {
}
o.itemsCreator(op, function () {
calback.apply(self, arguments);
op.times === 1 && BI.nextTick(function () {
o.items = BI.concat(o.items, BI.get(arguments, [0], []));
if (op.times === 1) {
o.items = BI.get(arguments, [0], []);
BI.nextTick(function () {
self.loaded();
// callback可能在loading之前执行, check保证显示正确
self.check();
});
}
});
},
hasNext: o.hasNext,

Loading…
Cancel
Save