fix: 同步首帧预览生成参数
This commit is contained in:
1 parent
9ad9af468b
commit
ddd5b4b4da
1 file changed
+4
-1
@@ -84,7 +84,10 @@ async function loadPreview() {
|
||||
previewPending.value = true
|
||||
previewError.value = ''
|
||||
try {
|
||||
const result = await productionApi.previewKeyframe(props.shotId)
|
||||
const result = await productionApi.previewKeyframe(props.shotId, {
|
||||
provider: imageProvider.value || undefined,
|
||||
generationOptions: imageGenerationOptions.value
|
||||
})
|
||||
if (!result || result.shotId !== props.shotId) throw new Error('预览结果与当前镜头不匹配。')
|
||||
preview.value = result
|
||||
} catch (cause) {
|
||||
|
||||
Reference in new issue
Block a user