林旭祥 пре 2 недеља
родитељ
комит
68152d0b65
1 измењених фајлова са 1 додато и 5 уклоњено
  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(() => {