Browse Source

无JRIA fix: bi.list_pane 回调后tiptext处理

es6
zsmj 2 years ago
parent
commit
f1fd2ffe47
  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