xiaodai2022 2 년 전
부모
커밋
f214f89ff0
2개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/static/js/0.js
  2. 7 3
      src/mixins/elPaginationHandle.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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()
     }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.