Commit b18e59ab authored by tangfh's avatar tangfh

+

parent 7df7d7f3
......@@ -172,11 +172,11 @@
},
onLoadMore(e) {
var tab = this.tabList[this.tabIndex];
if (!tab.loadMoreFlag || tab.loadStatus == constant.LOAD_STATUS.noMore) {
if (tab.loadStatus == constant.LOAD_STATUS.noMore) {
return;
}
tab.loadStatus = constant.LOAD_STATUS.loading;
tab.page += 1;
tab.page++;
tab.loadStatus = tab.page > tab.total_pages ? constant.LOAD_STATUS.noMore : constant.LOAD_STATUS.more;
this.getList(this.tabIndex);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment