|
@@ -159,7 +159,7 @@ export default {
|
|
// console.log(r, 'rrrrrrrrrr')
|
|
// console.log(r, 'rrrrrrrrrr')
|
|
this.localPagination = this.showPagination && Object.assign({}, this.localPagination, {
|
|
this.localPagination = this.showPagination && Object.assign({}, this.localPagination, {
|
|
current: r.pageNo, // 返回结果中的当前分页数
|
|
current: r.pageNo, // 返回结果中的当前分页数
|
|
- total: r.count, // 返回结果中的总记录数
|
|
|
|
|
|
+ total: Number(r.count), // 返回结果中的总记录数
|
|
showSizeChanger: this.showSizeChanger,
|
|
showSizeChanger: this.showSizeChanger,
|
|
pageSize: (pagination && pagination.pageSize) ||
|
|
pageSize: (pagination && pagination.pageSize) ||
|
|
this.localPagination.pageSize
|
|
this.localPagination.pageSize
|