src/components/menu/TimeLine.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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); // 在所有项目播放完毕后触发 } }