refactor: 页面提示改为用户可理解的制作文案

This commit is contained in:
GouJ committed 2026-09-26 21:11:55 +08:00
1 parent 8d98365d3c
commit bb6137b47d
1 file changed
+3 -3
@@ -84,7 +84,7 @@ async function generatePrompt() {
delete session.prompts[shotId]
const result = await storyboardApi.generatePrompt(shotId, overwrite)
if (!result || result.shotId !== shotId || !result.videoPrompt)
throw new Error('接口未返回此镜头的有效提示词,请检查后端记录后重试。')
throw new Error('没有获取到此镜头的有效提示词,请刷新后重试。')
session.prompts[shotId] = result
})
if (!ok) {
@@ -157,7 +157,7 @@ function exportResult(kind: 'spec' | 'prompt') {
</li>
</ul>
<p v-if="!references.references.length && !references.missing.length" class="mt-3 text-xs text-muted">
后端未返回参考图或缺失记录。
当前镜头还没有可用参考图。
</p>
<p v-if="references.missing.length" class="mt-3 text-xs text-muted">
请在形态图库补齐图片或设置主图,再刷新本镜头参考图。
@@ -208,7 +208,7 @@ function exportResult(kind: 'spec' | 'prompt') {
:description="
force
? '将覆盖此镜头已保存的视频提示词,并调用模型重新生成。'
: '读取此镜头已有提示词;若不存在,将调用模型并保存结果。后端会检查参考图是否齐全。'
: '读取此镜头已有提示词;若不存在,将自动生成并保存。生成前会检查所需参考图是否齐全。'
"
@confirm="generatePrompt"
/><NCheckbox v-model:checked="force" :disabled="locked" class="flex items-center gap-2 text-xs"