diff --git a/src/components/workflow/Step04TitleTags.vue b/src/components/workflow/Step04TitleTags.vue index 5ffded8..8c8eb16 100644 --- a/src/components/workflow/Step04TitleTags.vue +++ b/src/components/workflow/Step04TitleTags.vue @@ -14,14 +14,22 @@ const { keywordsEmotion, titleTagsGenerating, scriptContent, + titleTagPrompt, } = storeToRefs(workflow); const feedback = ref({ severity: "", message: "" }); +const promptExpanded = ref(false); const canGenerate = computed( () => Boolean(scriptContent.value?.trim()) && !titleTagsGenerating.value, ); +const titleLineCount = computed(() => { + const text = String(titleGenerated.value || "").trim(); + if (!text) return 0; + return text.split("\n").filter((line) => line.trim()).length; +}); + function showFeedback(result) { if (!result?.message) return; feedback.value = { @@ -63,11 +71,37 @@ async function onGenerateTitleTags() {

-
生成的标题(可编辑)
+ +