fix: editor PreviewPanel updates

This commit is contained in:
2026-06-14 17:53:27 +08:00
parent a681e371ae
commit 94c55d3597

View File

@@ -15,7 +15,7 @@ watch(() => props.videoUrl, async (url) => {
videoRef.value.src = url
playing.value = false
paused.value = false
})
}, { immediate: true })
function togglePlay() {
if (!videoRef.value) return