From c7e1ba0ac50a8112b4d3037717ab3b6cfed41eb1 Mon Sep 17 00:00:00 2001 From: thzxx Date: Thu, 18 Jun 2026 13:02:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=81=A2=E5=A4=8D=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E5=BE=AA=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/components/input-area.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/input-area.ts b/src/renderer/components/input-area.ts index 4f523aa..85f9cd3 100644 --- a/src/renderer/components/input-area.ts +++ b/src/renderer/components/input-area.ts @@ -130,7 +130,9 @@ export function initInputArea(): void { filters: [{ name: '视频', extensions: Array.from(VIDEO_EXTENSIONS) }] }); if (!paths || paths.length === 0) return; - await handleVideoPath(paths[0]); + for (const p of paths) { + await handleVideoPath(p); + } }); imagePreviewEl.addEventListener('click', (e) => {