Skip to content

Commit

Permalink
chore: .
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed May 14, 2024
1 parent c1ad79f commit d0c7f01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function delayClick(time) {
const password = passwords[index];
const delay = index * delayBetweenInstances;
return new Promise((resolve, reject) => {
//其实直接使用await就可以了
setTimeout(() => {
launchBrowserForUser(username, password).then(resolve).catch(reject);
}, delay);
Expand Down

0 comments on commit d0c7f01

Please sign in to comment.