From b796b69974fad8e07168db3900296261de0d99d4 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Sun, 16 May 2021 08:11:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_dreamFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jd_dreamFactory.js b/jd_dreamFactory.js index 54cbf57d..28546e87 100644 --- a/jd_dreamFactory.js +++ b/jd_dreamFactory.js @@ -737,7 +737,7 @@ function DrawProductionStagePrize() { async function PickUp(encryptPin = $.encryptPin, help = false) { $.pickUpMyselfComponent = true; const GetUserComponentRes = await GetUserComponent(encryptPin, 1500); - if (GetUserComponentRes && GetUserComponentRes['ret'] === 0) { + if (GetUserComponentRes && GetUserComponentRes['ret'] === 0 && GetUserComponentRes['data']) { const { componentList } = GetUserComponentRes['data']; if (componentList && componentList.length <= 0) { if (help) {