更新配置

This commit is contained in:
Xin Wang 2025-07-01 19:56:25 +08:00
parent c269c144f1
commit f2ba3fa628
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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);