Authored by yyq

sort page

... ... @@ -396,7 +396,7 @@ exports.handleOptsData = (params, total, extra) => {
dest.countPerPage = _.isEmpty(params.limit) ? 60 : params.limit;
// 全部页码数量
dest.pageCount = parseInt(total / (dest.countPerPage - 1)) + 1;
dest.pageCount = parseInt(total / (dest.countPerPage - 1), 10) + 1;
// 每页多少商品
let paramsLimit = parseInt((_.isEmpty(params.limit) ? 60 : params.limit), 10);
... ...