Authored by 郭成尧

'endNum'

@@ -835,7 +835,7 @@ exports.handlePagerData = (total, params) => { @@ -835,7 +835,7 @@ exports.handlePagerData = (total, params) => {
835 835
836 dest.tip.end = (total < perPageCount) ? total : ((dest.pageCount === parseInt(params.page, 10)) ? 836 dest.tip.end = (total < perPageCount) ? total : ((dest.pageCount === parseInt(params.page, 10)) ?
837 total : parseInt(dest.tip.start, 10) + perPageCount - 1); 837 total : parseInt(dest.tip.start, 10) + perPageCount - 1);
838 - 838 +
839 dest.pages = _.concat(prevPages, pages, nextPages); 839 dest.pages = _.concat(prevPages, pages, nextPages);
840 840
841 return dest; 841 return dest;