...
|
...
|
@@ -51,9 +51,11 @@ Page({ |
|
|
.then(data => {
|
|
|
if (data) {
|
|
|
let list = data.product_list;
|
|
|
collectionInfo.isLoading = false;
|
|
|
collectionInfo.collectionList = collectionInfo.collectionList.concat(list);
|
|
|
let hasMore = collectionInfo.currentPage < data.totalPage;
|
|
|
collectionInfo.isLoading = false;
|
|
|
collectionInfo.currentPage = data.page;
|
|
|
|
|
|
let hasMore = collectionInfo.currentPage < data.page_total;
|
|
|
collectionInfo.hasMore = hasMore;
|
|
|
if (hasMore) {
|
|
|
collectionInfo.currentPage = collectionInfo.currentPage + 1;
|
...
|
...
|
|