Skip to content

Commit 525bf35

Browse files
ztplzzombieJ
authored andcommitted
adjust logic (#15)
1 parent 81bd566 commit 525bf35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/asyncUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function allPromiseFinish(promiseList: Promise<FieldError>[]): Promise<Fi
2020
count -= 1;
2121
results[index] = result;
2222

23-
if (count !== 0) {
23+
if (count > 0) {
2424
return;
2525
}
2626

0 commit comments

Comments
 (0)