forked from 77media/video-flow
新增 使用后端返回的snapshot
This commit is contained in:
parent
ed3e7bc406
commit
399c0deab1
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user