fix game load time not correct
This commit is contained in:
parent
22a68844cf
commit
da2ff65e3d
@ -112,7 +112,7 @@ const gameKey = ref(10)
|
|||||||
@start-exploration="startExploration" />
|
@start-exploration="startExploration" />
|
||||||
</Transition>
|
</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;"
|
:style="{ opacity: stage === 1 ? 1 : 0 }" style="z-index: 98;"
|
||||||
@cloud-down="cloudDown" @cloud-up="cloudUp" ref="game-page" @restart="gameKey++" />
|
@cloud-down="cloudDown" @cloud-up="cloudUp" ref="game-page" @restart="gameKey++" />
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user