Commit 5cce9f12 authored by 季圣华's avatar 季圣华
Browse files

报表翻页的bug修复

parent f7d7213a
...@@ -408,7 +408,7 @@ export const JeecgListMixin = { ...@@ -408,7 +408,7 @@ export const JeecgListMixin = {
}) })
dataSource.push(totalRow) dataSource.push(totalRow)
//总数要增加合计的行数,每页都有一行合计,所以总数要加上 //总数要增加合计的行数,每页都有一行合计,所以总数要加上
let size = Math.ceil(this.ipagination.total/this.ipagination.pageSize) let size = Math.ceil(this.ipagination.total/(this.ipagination.pageSize-1))
this.ipagination.total = this.ipagination.total + size this.ipagination.total = this.ipagination.total + size
} }
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment