From b8c07d9cc1b2b8859ace998ceb429d58a8baec74 Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期五, 04 七月 2025 15:10:57 +0800
Subject: [PATCH] 修改历史回放怪物弹窗

---
 src/components/menu/TimeLine.vue |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/src/components/menu/TimeLine.vue b/src/components/menu/TimeLine.vue
index 902ee8f..ca09206 100644
--- a/src/components/menu/TimeLine.vue
+++ b/src/components/menu/TimeLine.vue
@@ -381,14 +381,6 @@
       }
 
       const progress = currentTime.value / duration.value;
-      // if (
-      //   currentReplayIndex.value == simStore.rePlayList.length - 1 &&
-      //   selectedScheme.value.type === 2 &&
-      //   simStore.rePlayList.length > 0
-      // ) {
-      //   // 鍘嗗彶鍥炴斁鐩存帴缁�100
-      //   emit("timeUpdate", 100);
-      // }
       if (selectedScheme.value.type !== 2) {
         emit("timeUpdate", progress * 100);
       }
@@ -1055,6 +1047,7 @@
     // 鎵�鏈夐」鐩挱鏀惧畬鎴�
     currentReplayIndex.value = 0; // 閲嶇疆绱㈠紩
     isPlaying.value = false; // 鍋滄鎾斁
+    emit("timeUpdate", 100); // 鍦ㄦ墍鏈夐」鐩挱鏀惧畬姣曞悗瑙﹀彂
   }
 }
 

--
Gitblit v1.9.3