...
|
...
|
@@ -1425,7 +1425,7 @@ exports.handleCheckedData = handleCheckedData; |
|
|
exports.handleNextPage = (params, total) => {
|
|
|
let href;
|
|
|
let currentPage = parseInt((params.page ? params.page : 1), 10); // 当前页
|
|
|
let perPageCount = parseInt((params.limit ? params.limit : 60) - 1, 10); // 每页商品数
|
|
|
let perPageCount = parseInt((params.limit ? params.limit : 40) - 1, 10); // 每页商品数
|
|
|
let totalPage = _.ceil(total / perPageCount); // 总页数
|
|
|
|
|
|
if (currentPage >= totalPage) {
|
...
|
...
|
|