From 5f8af97abe60699a781d1adab05ab9290d9b8688 Mon Sep 17 00:00:00 2001 From: pplok <1162963624@qq.com> Date: Fri, 17 Jan 2020 15:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/main.js b/controllers/main.js index 34a6f05..49dbe5d 100644 --- a/controllers/main.js +++ b/controllers/main.js @@ -31,7 +31,7 @@ let findlist = async (ctx, next) => { await Promise.allSettled(pro).then((res) => { for (let i in res) { - if(i.status == "fulfilled"){ + if(res[i].status == "fulfilled"){ console.log(res[i].value.list) for (let j in res[i].value.list) { let has = true