Jelajahi Sumber

fix: 参数写错

zh 2 tahun lalu
induk
melakukan
cd16b2c8b3
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      src/views/sales_policy/components/details.vue

+ 2 - 3
src/views/sales_policy/components/details.vue

@@ -1137,12 +1137,11 @@ export default {
       this.clistLoading = true
       getPolicyList({
         pageNum: this.policyList.currentPages,
-        pageSize: this.policyList.pageSizes,
+        pageSize: this.policyList.pageSize,
         policyId: this.id,
         keyword: this.policyList.keyword
       }).then(res => {
         this.list = res.data.records
-        console.log(this.list, '785787')
         this.cTotal = res.data.total
         this.clistLoading = false
       })
@@ -1271,7 +1270,7 @@ export default {
     },
     // 更改每页数量
     handleSizeChanges4(val) {
-      this.$set(this.policyList, 'pageSizes', val)
+      this.$set(this.policyList, 'pageSize', val)
       this.$set(this.policyList, 'currentPages', 1)
       this.getPolicyList()
     },