mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 23:35:02 +08:00
美的会员小程序
尝试修复多账户报错
This commit is contained in:
@@ -89,13 +89,16 @@ class UserInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function start() {
|
async function start() {
|
||||||
let taskall = [];
|
const tasks = userList.map(user => user.main());
|
||||||
|
await Promise.all(tasks);
|
||||||
|
|
||||||
|
/*let taskall = [];
|
||||||
for (let user of userList) {
|
for (let user of userList) {
|
||||||
if (user.ckStatus) {
|
if (user.ckStatus) {
|
||||||
taskall.push(await user.main());
|
taskall.push(await user.main());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await Promise.all(taskall);
|
await Promise.all(taskall);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
!(async () => {
|
!(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user