From e3f3ab5c2aa52249029830accc71807355a5b5d2 Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 9 Oct 2025 14:40:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B3=A8=E9=87=8A=E6=8E=89=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=8E=A7=E5=88=B6=E5=99=A8=E4=B8=AD=E7=9A=84=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=9A=82=E5=81=9C=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=92=AD=E6=94=BE=E6=97=B6=E9=97=B4=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/usePlaybackWebSocket.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hooks/usePlaybackWebSocket.ts b/src/hooks/usePlaybackWebSocket.ts index 5139748..a5d4d6e 100644 --- a/src/hooks/usePlaybackWebSocket.ts +++ b/src/hooks/usePlaybackWebSocket.ts @@ -167,10 +167,10 @@ export function usePlaybackWebSocket(editorService: ShallowRef= totalDuration.value && totalDuration.value > 0) { - pause(); - currentTime.value = totalDuration.value; - } + // if (isPlaying.value && currentTime.value >= totalDuration.value && totalDuration.value > 0) { + // pause(); + // currentTime.value = totalDuration.value; + // } editorService.value?.render(); animationFrameId = requestAnimationFrame(renderLoop);