From 7ceb0962670dd63babbbe936065c51b41fe1a17e Mon Sep 17 00:00:00 2001 From: yixu Date: Sat, 27 Dec 2025 14:35:25 +0800 Subject: [PATCH] update --- src/components/Lottery.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/Lottery.vue b/src/components/Lottery.vue index 9a4f362..aa11a79 100644 --- a/src/components/Lottery.vue +++ b/src/components/Lottery.vue @@ -185,6 +185,15 @@ watch(() => props.show, async (newVal) => { emit('close') loading.hide() return + } else { + // 抽中结束,更新抽奖次数 + if (lottteryResult.res.status === 200) { + const result = await Request('game/info', { refresh_official: false, refresh_cap_scan: false }, "GET") + if (result?.res?.status === 200) { + globalStore.draw_chances = result.json.draw_chances + globalStore.game_chances = result.json.game_chances + } + } } } else { if (!props.data) {