林旭祥 hai 2 semanas
pai
achega
68152d0b65
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      src/views/game/components/fruit.vue

+ 1 - 5
src/views/game/components/fruit.vue

@@ -1698,11 +1698,7 @@ const getActiveScene = () => {
 
 // 再次游戏
 const getResumeGame = async () => {
-  const game = gameRef.value;
-  if (!game) return;
-  const currentScene = getActiveScene();
-  const targetScene = game.scene.getScene(currentScene);
-  targetScene.startGame();
+
 };
 
 onBeforeMount(() => {