forked from 77media/video-flow
更新配置
This commit is contained in:
parent
c269c144f1
commit
f2ba3fa628
@ -22,12 +22,12 @@ export enum ResolutionEnum {
|
||||
export const ProjectTypeMap = {
|
||||
[ProjectTypeEnum.SCRIPT_TO_VIDEO]: {
|
||||
value: "script_to_video",
|
||||
label: "剧本转视频",
|
||||
label: "script",
|
||||
tab: "script"
|
||||
},
|
||||
[ProjectTypeEnum.VIDEO_TO_VIDEO]: {
|
||||
value: "video_to_video",
|
||||
label: "视频复刻视频",
|
||||
label: "clone",
|
||||
tab: "clone"
|
||||
}
|
||||
} as const;
|
||||
|
||||
@ -156,13 +156,13 @@ export function CreateToVideo2() {
|
||||
// 成功创建后跳转到work-flow页面
|
||||
router.push('/create/work-flow');
|
||||
} else {
|
||||
alert(`创建剧集失败: ${episodeResponse.msg}`);
|
||||
alert(`创建剧集失败: ${episodeResponse.message}`);
|
||||
}
|
||||
} else {
|
||||
alert(`创建项目失败: ${projectResponse.msg}`);
|
||||
alert(`创建项目失败: ${projectResponse.message}`);
|
||||
}
|
||||
} else {
|
||||
alert(`转换失败: ${convertResponse.msg}`);
|
||||
alert(`转换失败: ${convertResponse.message}`);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('创建过程出错:', error);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user