Browse Source

日常开发

林旭祥 2 tuần trước cách đây
mục cha
commit
68152d0b65
1 tập tin đã thay đổi với 1 bổ sung5 xóa
  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(() => {