This commit is contained in:
lxk0301
2021-03-16 15:06:51 +08:00
parent b0b47acfcf
commit e822b063be
2 changed files with 10 additions and 10 deletions

View File

@@ -291,7 +291,7 @@ function redPacket() {
t.setDate(t.getDate() + 1)
t.setHours(0, 0, 0, 0)
t = parseInt((t - 1) / 1000)
for (let vo of data.useRedInfo.redList) {
for (let vo of data.useRedInfo.redList || []) {
if (vo.activityName.includes("京喜")) {
$.jxRed += parseFloat(vo.balance)
if (vo['endTime'] === t) {