codeMan 1 year ago
parent
commit
c0e062b15a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/HDrpManagement/collectionRule/index.vue

+ 3 - 1
src/HDrpManagement/collectionRule/index.vue

@@ -52,6 +52,8 @@ export default {
         "id": "20230110100103",
         "version":1,
         "content": {
+          "pageNumber":1,
+          "pageSize":20,
           "where":{
               "condition":""
           }
@@ -69,7 +71,7 @@ export default {
     async listData(){
       const res = await this.$api.requested(this.params)
       this.list = res.data
-      this.total = res.pageTotal
+      this.total = res.total
       console.log(this.list)
     },
     handleSizeChange(val) {