guonan
2025-07-04 b8c07d9cc1b2b8859ace998ceb429d58a8baec74
修改历史回放怪物弹窗
已修改1个文件
9 ■■■■ 文件已修改
src/components/menu/TimeLine.vue 9 ●●●● 补丁 | 查看 | 原始文档 | 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); // 在所有项目播放完毕后触发
  }
}