fix: 推送异常(#132)

Fixed #132
This commit is contained in:
shanmite 2022-03-22 15:02:59 +08:00
parent 1b80f853ed
commit 354d8cff1a

View File

@ -38,7 +38,7 @@ function start(num) {
const lotterys = global_var.get("Lottery"); const lotterys = global_var.get("Lottery");
if (lotterys.length === 0) { if (lotterys.length === 0) {
log.info('抽奖', '抽奖信息为空'); log.info('抽奖', '抽奖信息为空');
resolve(); event_bus.emit('Turn_off_the_Monitor', '抽奖信息为空')
return; return;
} }
if (times.value() === lotterys.length) { if (times.value() === lotterys.length) {