There was an error while loading. Please reload this page.
2 parents 612c2cb + 701a374 commit 54aa9a2Copy full SHA for 54aa9a2
1 file changed
src/Store.ts
@@ -751,14 +751,10 @@ export default class StoreImp implements Store {
751
}
752
753
// More processing and loading, more loading if there are callback methods and no data is being loaded
754
- if (from === 0) {
755
- if (this._dataLoadMore.forward) {
756
- this._processDataLoad('forward')
757
- }
758
- } else if (to === totalBarCount) {
759
- if (this._dataLoadMore.backward) {
760
- this._processDataLoad('backward')
761
+ if (from === 0 && this._dataLoadMore.forward) {
+ this._processDataLoad('forward')
+ } else if (to === totalBarCount && this._dataLoadMore.backward) {
+ this._processDataLoad('backward')
762
763
764
0 commit comments