소스 검색

Merge branch 'feature/Feature-copy' into develop

howie 2 년 전
부모
커밋
aa7575fb69
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/sales_policy/components/AddPolicy.vue
  2. 1 1
      src/views/sales_policy/components/editPolicy.vue

+ 1 - 1
src/views/sales_policy/components/AddPolicy.vue

@@ -857,7 +857,7 @@ export default {
       };
       try {
         const {data}  =  await getMaterialList(paramss)
-      this.dataList = [...this.dataList,...data.records];
+      this.dataList = data.records
           data.records.forEach((k) => {
             k.walletIds = [];
             k.rebateWalletIds = [];

+ 1 - 1
src/views/sales_policy/components/editPolicy.vue

@@ -903,7 +903,7 @@ export default {
             }
           })
 
-          this.dataList = [...this.dataList,...result.data.records]
+          this.dataList = result.data.records
           this.listTotal = result.data.total
           this.listLoading = false
         })