diff --git a/pteer.js b/pteer.js index 9eb7c751..e1e3e69b 100644 --- a/pteer.js +++ b/pteer.js @@ -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);