Authored by yyq

fix nice list load page

... ... @@ -71,13 +71,11 @@ export default {
let end = false;
if (result.code === 200) {
this.page++;
if (get(result, 'data.detailList' || []).length) {
list = result.data.detailList;
}
if (this.page > get(result, 'data.totalPage')) {
if (this.page++ > get(result, 'data.totalPage')) {
end = true;
}
} else {
... ...