fix game load time not correct
This commit is contained in:
+1
-1
@@ -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++" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user