xiaodai2022 %!s(int64=2) %!d(string=hai) anos
pai
achega
f214f89ff0
Modificáronse 2 ficheiros con 7 adicións e 3 borrados
  1. 0 0
      dist/static/js/0.js
  2. 7 3
      src/mixins/elPaginationHandle.js

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/0.js


+ 7 - 3
src/mixins/elPaginationHandle.js

@@ -2,13 +2,17 @@ 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()
     }

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio