forked from 77media/video-flow
修复问题
This commit is contained in:
parent
43b42e3d09
commit
db18e0aceb
@ -602,7 +602,7 @@ export interface RoleRecognitionResponse {
|
|||||||
characters_used: CharacterUsed[];
|
characters_used: CharacterUsed[];
|
||||||
}
|
}
|
||||||
export interface RoleResponse {
|
export interface RoleResponse {
|
||||||
characters: {
|
data: {
|
||||||
/** 角色描述 */
|
/** 角色描述 */
|
||||||
character_description: string;
|
character_description: string;
|
||||||
/** 角色名称 */
|
/** 角色名称 */
|
||||||
|
|||||||
@ -100,7 +100,7 @@ export class RoleEditUseCase {
|
|||||||
draftRoleList[role.name] = role;
|
draftRoleList[role.name] = role;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return projectRoleData.characters.map((char, index) => {
|
return projectRoleData.data.map((char, index) => {
|
||||||
if(draftRoleList[char.character_name]){
|
if(draftRoleList[char.character_name]){
|
||||||
return {
|
return {
|
||||||
...draftRoleList[char.character_name],
|
...draftRoleList[char.character_name],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user