洪海涛 пре 4 година
родитељ
комит
3938032d91
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/dataBigManage/components/drawerModal/index.vue

+ 1 - 1
src/views/dataBigManage/components/drawerModal/index.vue

@@ -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) || []