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 })