|
@@ -804,7 +804,7 @@ export default {
|
|
|
// 分页
|
|
|
tableListPagination() {
|
|
|
if (this.tableListOld.length) {
|
|
|
- if (this.paging.curIndex - 1) {
|
|
|
+ if (this.paging.curIndex - 1 || this.tableListOld.length > this.paging.pageSize.length) {
|
|
|
this.tableList = this.tableListOld.map(e => e).splice((this.paging.curIndex - 1 || 0) * this.paging.pageSize, this.paging.pageSize)
|
|
|
} else {
|
|
|
this.tableList = this.tableListOld.map(e => e) || []
|