|
@@ -7,7 +7,7 @@ import Toast from '@/components/ToastBox.vue'
|
|
|
const router = useRouter()
|
|
|
|
|
|
// home-封面 unity-游戏 scene-线上展 reset-确认是否重新
|
|
|
-const mode = ref('reset')
|
|
|
+const mode = ref('home')
|
|
|
|
|
|
const goBack = () => {
|
|
|
window.history.back()
|
|
@@ -117,7 +117,7 @@ onMounted(() => {
|
|
|
<iframe
|
|
|
v-if="mode === 'unity'"
|
|
|
class="game-box"
|
|
|
- src="/game/index.html"
|
|
|
+ src="./game/index.html"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|