Commit 2fa40a8e authored by tangfh's avatar tangfh

+

parent 7ef3d268
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
if (list.length > 0) { if (list.length > 0) {
this.items = this.items.concat(list); this.items = this.items.concat(list);
} }
this.loadMoreStatus = this.page == this.total_page ? constant.LOAD_STATUS.noMore : constant.LOAD_STATUS this.loadMoreStatus = this.page >= this.total_page ? constant.LOAD_STATUS.noMore : constant.LOAD_STATUS
.more; .more;
} }
this.contentStatus = this.items.length == 0 ? constant.CONTENT_STATUS.EMPTY : {}; this.contentStatus = this.items.length == 0 ? constant.CONTENT_STATUS.EMPTY : {};
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
if (list.length > 0) { if (list.length > 0) {
tab.content.list = tab.content.list.concat(list); tab.content.list = tab.content.list.concat(list);
} }
tab.content.loadStatus = tab.content.page == tab.content.total_pages ? constant.LOAD_STATUS.noMore : tab.content.loadStatus = tab.content.page >= tab.content.total_pages ? constant.LOAD_STATUS.noMore :
constant.LOAD_STATUS.more; constant.LOAD_STATUS.more;
} }
tab.content.contentStatus = tab.content.list.length == 0 ? constant.CONTENT_STATUS.EMPTY : {}; tab.content.contentStatus = tab.content.list.length == 0 ? constant.CONTENT_STATUS.EMPTY : {};
......
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