From 6e012628e74f2b7610616fd8c0f4298fd3825f69 Mon Sep 17 00:00:00 2001 From: yixu Date: Sat, 27 Dec 2025 16:52:34 +0800 Subject: [PATCH] update --- src/components/HomePage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue index cda5cc4..6f30f08 100644 --- a/src/components/HomePage.vue +++ b/src/components/HomePage.vue @@ -264,9 +264,9 @@ const handleRule = () => { globalToastEvent.emit(ToastType.SHOW_RULE) } const handleLottery = () => { - // if (globalStore.draw_chances <= 0) { - // return weui.alert("还没有抽奖机会,快去参加活动吧") - // }; + if (globalStore.draw_chances <= 0) { + return weui.alert("还没有抽奖机会,快去参加活动吧") + }; lotteryType.value = 'draw' lotteryNoticeData.value = null globalToastEvent.emit(ToastType.SHOW_LOTTERY);