Authored by 张孝茹

浏览记录翻页

... ... @@ -307,6 +307,10 @@ module.exports = class extends global.yoho.BaseModel {
return resu;
}
if (page > result.data.page_total) {
return [];
}
if (list.data && list.data.product_list) {
resu = {
browseRecord: []
... ...
... ... @@ -52,7 +52,7 @@ function moreRecord(cb) {
page: page + 1
},
success: function(data) {
if (!data) {
if (!data || data === '') {
end = true;
$more.addClass('hide');
$noMore.removeClass('hide');
... ...