fix(video-history): 开始生成时保留历史与拼接成果

This commit is contained in:
root committed 2026-02-17 21:58:02 +08:00
1 parent 29d5975e31
commit bc654aad46
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1462,7 +1462,7 @@
isRunning = true;
startBtn.disabled = true;
updateMeta();
resetOutput();
resetOutput(true);
setStatus('connecting', '连接中');
let taskIds = [];
@@ -1483,7 +1483,7 @@
}
taskStates = new Map();
previewCount = 0;
previewCount = videoStage ? videoStage.querySelectorAll('.video-item').length : 0;
for (const taskId of taskIds) {
const previewItem = initPreviewSlot();
setPreviewTitle(previewItem, buildHistoryTitle('generated', previewItem && previewItem.dataset ? previewItem.dataset.index : previewCount));
+1 -1
View File
@@ -318,7 +318,7 @@
<script src="/static/common/js/pwa.js?v=0.1.1"></script>
<script src="/static/vendor/ffmpeg/ffmpeg.js?v=0.1.0"></script>
<script src="/static/vendor/ffmpeg/ffmpeg-util.js?v=0.1.0"></script>
<script src="/static/public/js/video.js?v=0.5.24"></script>
<script src="/static/public/js/video.js?v=0.5.25"></script>
</body>
</html>