@@ -83,7 +83,7 @@ module.exports = app => {
// 分页相关
const pageInfo = {
page,
- total: parseInt(total / app.config.pageSize),
+ total: Math.ceil(total / app.config.pageSize),
queryData: JSON.stringify(ctx.urlInfo.query),
};