fix game load time not correct

This commit is contained in:
feie9456 2025-07-25 16:35:17 +08:00
parent 22a68844cf
commit da2ff65e3d

View File

@ -112,7 +112,7 @@ const gameKey = ref(10)
@start-exploration="startExploration" />
</Transition>
<Game class="page" :userdata="userData" :key="gameKey"
<Game class="page" :userdata="userData" :key="gameKey" v-if="stage >= 0"
:style="{ opacity: stage === 1 ? 1 : 0 }" style="z-index: 98;"
@cloud-down="cloudDown" @cloud-up="cloudUp" ref="game-page" @restart="gameKey++" />