瀏覽代碼

fix: 参数写错

zh 2 年之前
父節點
當前提交
cd16b2c8b3
共有 1 個文件被更改,包括 2 次插入3 次删除
  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()
     },