From d8134b8a3c3e0b481bf447e5e8b0c022a3996d8f Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期三, 09 七月 2025 14:52:22 +0800 Subject: [PATCH] 优化目录树以及实时模拟最后弹窗的问题 --- src/components/menu/TimeLine.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/menu/TimeLine.vue b/src/components/menu/TimeLine.vue index 649f970..2be26e1 100644 --- a/src/components/menu/TimeLine.vue +++ b/src/components/menu/TimeLine.vue @@ -340,8 +340,9 @@ } // 瑙﹀彂杩涘害鏇存柊 - const progress = currentTime.value / totalDuration; - emit("timeUpdate", progress * 100); + // const progress = currentTime.value / totalDuration; + // 瀹炴椂妯℃嫙搴旇涓嶇敤鏄剧ず寮圭獥鍚� + // emit("timeUpdate", progress * 100); // 濡傛灉闇�瑕佽Е鍙戞煇浜涙洿鏂板嚱鏁帮紝涔熷彲浠ヤ繚鐣� updateWaterColorByTime(); @@ -1076,7 +1077,11 @@ watch( () => finishPlay.value, (newVal) => { - if (newVal && selectedScheme.value.type === 2) { + if ( + newVal && + selectedScheme.value.type === 2 && + simStore.rePlayList.length > 0 + ) { handlePlayFinished(); } } -- Gitblit v1.9.3