新增 使用后端返回的snapshot

This commit is contained in:
moux1024 2025-10-15 00:11:44 +08:00
parent ed3e7bc406
commit 399c0deab1

View File

@ -290,7 +290,7 @@ export function useWorkflowData({}: UseWorkflowDataProps = {}) {
video_id: video.video_id,
video_status: video_status, // 0 生成中 1 生成完成 2 生成失败
type: 'video',
snapshot_url: video.snapshot_url
snapshot_url: video.snapshot_urls?.[0] || ''
});
}
taskCurrent.videos.data = videoList;