fix:
破冰礼包一键领取
This commit is contained in:
parent
8e1c5412d6
commit
da37b162d9
@ -27,7 +27,7 @@ export default async function (call: ApiCall<ReqReceive, ResReceive>) {
|
||||
if (!payLog || !payLog.length) continue;
|
||||
|
||||
for (let key of ["prize", "recPrize1", "recPrize2"]) {
|
||||
if (!data.record[gift.id] || !data.record[gift.id].includes(key)) {
|
||||
if (!data || !data?.record[gift.id] || !data.record[gift.id].includes(key)) {
|
||||
push.push(key);
|
||||
prize.push(...gift[key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user