Sfoglia il codice sorgente

半浮层分页: 11

洪海涛 4 anni fa
parent
commit
3938032d91

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