Commit 60cce8a0fca08f5cd1b4a960f86d29f17420da36

Authored by xp.Huang
2 parents ea8d1308 1ab5eb49

Merge branch 'ww' into 'main'

fix: 打包输出结果不支持for await语法

See merge request yunteng/thingskit-front!506
... ... @@ -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);
... ...