This commit is contained in:
xiaoaojiao
2025-09-18 21:57:49 +08:00
parent 7f22f7a0c7
commit ebcc16086a
2 changed files with 25 additions and 23 deletions

View File

@@ -310,7 +310,7 @@ const initUserGameInfos = async (refresh_official, refresh_cap_scan) => {
const handleLoginSuccess = async () => {
console.log("已登录")
loginShow.value = false
console.log(111)
await initUserGameInfos(true, true)
}
@@ -338,7 +338,9 @@ globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
})
watch(() => lotteryShow.value, async (newVal) => {
initUserGameInfos(true, true);
if (newVal) {
initUserGameInfos(true, true)
}
}, { immediate: true })
</script>