This commit is contained in:
949036910@qq.com
2026-05-31 22:19:51 +08:00
parent 736f1f9014
commit 4120f37c94
8 changed files with 167 additions and 17 deletions

View File

@@ -14,6 +14,7 @@ const {
subtitleTemplateId,
subtitleBgmGenerating,
generatedVideoPath,
processedVideoPath,
subtitlePreviewVideoPath,
subtitlePreviewVideoSrc,
bgmPreviewSrc,
@@ -22,7 +23,9 @@ const {
const feedback = ref({ severity: "", message: "" });
const templateDialogVisible = ref(false);
const hasSourceVideo = computed(() => Boolean(generatedVideoPath.value));
const hasSourceVideo = computed(() =>
Boolean(processedVideoPath.value || generatedVideoPath.value),
);
const hasSubtitleVideoPreview = computed(() =>
Boolean(subtitlePreviewVideoSrc.value),
);