xiaodai2022 2 年之前
父節點
當前提交
912de4adc6
共有 3 個文件被更改,包括 22 次插入16 次删除
  1. 5 5
      dist/static/js/0.js
  2. 8 8
      dist/static/js/app.js
  3. 9 3
      src/mixins/elPaginationHandle.js

文件差異過大導致無法顯示
+ 5 - 5
dist/static/js/0.js


文件差異過大導致無法顯示
+ 8 - 8
dist/static/js/app.js


+ 9 - 3
src/mixins/elPaginationHandle.js

@@ -2,13 +2,19 @@ export default {
   methods: {
     async handlePageChange(val) {
       this.parmValue.page = val
-      this.pageInfo.curr = val
+      if(this.pageInfo){
+        this.pageInfo.curr = val
+      }
+     
       await this.searchList()
     },
     async handleSizeChange(val) {
       this.parmValue.page = 1
-      this.pageInfo.curr = 1
-      this.pageInfo.size = val
+      if(this.pageInfo){
+        this.pageInfo.curr = 1
+        this.pageInfo.size = val
+      }
+     
       this.parmValue.size = val
       await this.searchList()
     }

部分文件因文件數量過多而無法顯示