Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -54,7 +54,7 @@ |
| 54 | 54 | await validate(); |
| 55 | 55 | const { customerId } = getFieldsValue(); |
| 56 | 56 | const task: Promise<any>[] = []; |
| 57 | - for await (const item of record) { | |
| 57 | + for (const item of record) { | |
| 58 | 58 | task.push(dispatchCustomerApi({ ...item, customerId })); |
| 59 | 59 | } |
| 60 | 60 | await Promise.all(task); | ... | ... |