|
|
@ -47,11 +47,15 @@ BI.ListPane = BI.inherit(BI.Pane, { |
|
|
|
} |
|
|
|
} |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
calback.apply(self, arguments); |
|
|
|
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(); |
|
|
|
self.loaded(); |
|
|
|
// callback可能在loading之前执行, check保证显示正确
|
|
|
|
// callback可能在loading之前执行, check保证显示正确
|
|
|
|
self.check(); |
|
|
|
self.check(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
hasNext: o.hasNext, |
|
|
|
hasNext: o.hasNext, |
|
|
|