Browse Source

fix:打包更新

aamin 1 year ago
parent
commit
877eb88acf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/GameView.vue

+ 2 - 2
src/views/GameView.vue

@@ -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>