From 3b1860e5af69f1ceaa52e2761c4eddfc98f9600c Mon Sep 17 00:00:00 2001 From: yixu Date: Fri, 19 Sep 2025 07:06:29 +0800 Subject: [PATCH] update --- src/components/HomePage.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue index 12216d9..7194a5d 100644 --- a/src/components/HomePage.vue +++ b/src/components/HomePage.vue @@ -338,7 +338,9 @@ globalToastEvent.on(ToastType.SHOW_LOTTERY, () => { }) watch(() => lotteryShow.value, async (newVal) => { - initUserGameInfos(true, true) + if (isLogin()) { + initUserGameInfos(true, true) + } }, { immediate: true })