Skip to content

Commit

Permalink
Fix 无法正确判断是否出航致全局第一个Proce的then被立刻执行
Browse files Browse the repository at this point in the history
  • Loading branch information
E0SelmY4V committed Jan 20, 2023
1 parent f92b517 commit e817efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
pipe.getList = getList;

var m = false, z = 0, f = 1;
var m = false, z = -1, f = 1;
function getId() {
return (m = !m) ? z-- : f++;
}
Expand Down

0 comments on commit e817efd

Please sign in to comment.