fix: 补齐 Production 首帧问题文案映射
This commit is contained in:
1 parent
6f01e3afe3
commit
2563245a2e
1 file changed
+2
-1
@@ -39,12 +39,13 @@ export function isActiveVideo(item: ShotVideo): boolean {
|
||||
return ['pending', 'queued', 'running'].includes(item.status)
|
||||
}
|
||||
|
||||
/** 就绪问题转为短标签,后端详细 reason 仍在页面原样显示。 */
|
||||
/** 就绪问题转为用户可直接理解的短标签;页面不暴露服务端实现术语。 */
|
||||
export function issueLabel(code: ProductionIssueCode): string {
|
||||
const labels: Record<ProductionIssueCode, string> = {
|
||||
invalid_generation_spec: '生成规格不完整',
|
||||
missing_visual_style: '缺少视觉风格',
|
||||
missing_reference: '缺少主体参考图',
|
||||
missing_primary_keyframe: '缺少可用首帧',
|
||||
missing_identity: '缺少角色身份',
|
||||
missing_identity_anchor: '缺少演员母版',
|
||||
identity_unlocked: '演员身份未锁定',
|
||||
|
||||
Reference in new issue
Block a user