This commit is contained in:
xiaoaojiao
2025-09-19 10:09:49 +08:00
parent 23c2c88530
commit 756832f300
2 changed files with 3 additions and 5 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,9 +338,7 @@ globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
})
watch(() => lotteryShow.value, async (newVal) => {
if (newVal) {
initUserGameInfos(true, true)
}
initUserGameInfos(true, true);
}, { immediate: true })
</script>