From 6f02237c1cffd97afcc5fe4e7e4fbeb97a88b42a Mon Sep 17 00:00:00 2001 From: Debin Date: Tue, 3 Oct 2023 16:24:26 +0000 Subject: [PATCH] =?UTF-8?q?=E5=BD=93resources/meta/info/pool.js=E9=87=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E5=86=85=E5=AE=B9=E6=B2=A1=E6=B3=95=E5=8F=8A?= =?UTF-8?q?=E6=97=B6=E6=9B=B4=E6=96=B0=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8C?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=BD=93=E5=89=8D=E5=8D=A1=E6=B1=A0=E4=B8=BA?= =?UTF-8?q?up=E4=BA=94=E6=98=9F=E5=8D=A1=E6=B1=A0=E3=80=82#I77VKJ=20?= =?UTF-8?q?=E5=BD=93resources/meta/info/pool.js=E9=87=8C=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E6=B2=A1=E6=B3=95=E5=8F=8A=E6=97=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8C=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E5=8D=A1=E6=B1=A0=E4=B8=BAup=E4=BA=94?= =?UTF-8?q?=E6=98=9F=E5=8D=A1=E6=B1=A0=E3=80=82#I77VKJ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Debin --- apps/gacha/GachaData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gacha/GachaData.js b/apps/gacha/GachaData.js index 791f13b1..55188f39 100644 --- a/apps/gacha/GachaData.js +++ b/apps/gacha/GachaData.js @@ -152,7 +152,7 @@ let GachaData = { let isUp = false // 歪了多少个 if (type === 'char') { - if (currVersion.char5.includes(ds.name)) { + if (!currVersion.hasOwnProperty("char5") || currVersion.char5.includes(ds.name)) { isUp = true } else { wai++