Showing
1 changed file
with
1 additions
and
1 deletions
@@ -396,7 +396,7 @@ exports.handleOptsData = (params, total, extra) => { | @@ -396,7 +396,7 @@ exports.handleOptsData = (params, total, extra) => { | ||
396 | dest.countPerPage = _.isEmpty(params.limit) ? 60 : params.limit; | 396 | dest.countPerPage = _.isEmpty(params.limit) ? 60 : params.limit; |
397 | 397 | ||
398 | // 全部页码数量 | 398 | // 全部页码数量 |
399 | - dest.pageCount = parseInt(total / (dest.countPerPage - 1)) + 1; | 399 | + dest.pageCount = parseInt(total / (dest.countPerPage - 1), 10) + 1; |
400 | 400 | ||
401 | // 每页多少商品 | 401 | // 每页多少商品 |
402 | let paramsLimit = parseInt((_.isEmpty(params.limit) ? 60 : params.limit), 10); | 402 | let paramsLimit = parseInt((_.isEmpty(params.limit) ? 60 : params.limit), 10); |
-
Please register or login to post a comment