This commit is contained in:
xiaoaojiao
2025-09-23 16:12:34 +08:00
parent c402cbc74c
commit b0d2c9ed1a
3 changed files with 6 additions and 6 deletions

View File

@@ -334,13 +334,14 @@ watch(() => mergeId, async (newVal) => {
}
}, { immediate: true })
globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
globalToastEvent.on(ToastType.SHOW_LOTTERY, async() => {
await initUserGameInfos(false, false);
lotteryShow.value = true
})
watch(() => lotteryShow.value, async (newVal) => {
initUserGameInfos(true, true);
}, { immediate: true })
// watch(() => lotteryShow.value, async (newVal) => {
// initUserGameInfos(true, true);
// }, { immediate: true })
</script>