From 61c14ec22e9bfdd076319fc1bc2267289a544dd0 Mon Sep 17 00:00:00 2001 From: GouJ Date: Fri, 25 Sep 2026 00:20:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=86=E9=95=9C=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E8=AF=BB=E5=8F=96=E4=B8=BB=E4=BD=93=E5=8F=82=E8=80=83=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/storyboard/components/ShotTools.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/features/storyboard/components/ShotTools.vue b/src/features/storyboard/components/ShotTools.vue index 8e57225..41c1d7d 100644 --- a/src/features/storyboard/components/ShotTools.vue +++ b/src/features/storyboard/components/ShotTools.vue @@ -35,9 +35,16 @@ function reset() { busy.value = { references: false, spec: false } } watch(() => JSON.stringify([props.projectId, props.shot.shotId, props.shot.direction, props.shot.visualState]), reset) +watch( + () => [props.projectId, props.shot.shotId] as const, + () => { + void load('references') + }, + { immediate: true } +) onScopeDispose(reset) -/** 只在用户点击后读取参考图或编译规格;两种 GET 均不调用生成模型。 */ +/** 参考图进入镜头时自动读取;生成规格仍由用户显式编译,两种 GET 均不调用生成模型。 */ async function load(kind: 'references' | 'spec') { if (busy.value[kind] || locked.value || (kind === 'spec' && (!props.shot.direction || !props.shot.visualState))) return @@ -108,13 +115,11 @@ function exportResult(kind: 'spec' | 'prompt') {

主体参考图

{{ - references ? '刷新参考图' : '读取参考图' - }}刷新参考图

- 读取镜头已绑定形态的图片,不生成新图。参考图缺失会影响视频提示词生成。 + 自动读取镜头当前绑定形态的主参考图,不生成新图。切换镜头会同步刷新,参考图缺失会影响后续生成。

{{ errors.references