修复问题

This commit is contained in:
海龙 2025-08-13 21:41:14 +08:00
parent 43b42e3d09
commit db18e0aceb
2 changed files with 2 additions and 2 deletions

View File

@ -602,7 +602,7 @@ export interface RoleRecognitionResponse {
characters_used: CharacterUsed[];
}
export interface RoleResponse {
characters: {
data: {
/** 角色描述 */
character_description: string;
/** 角色名称 */

View File

@ -100,7 +100,7 @@ export class RoleEditUseCase {
draftRoleList[role.name] = role;
}
}
return projectRoleData.characters.map((char, index) => {
return projectRoleData.data.map((char, index) => {
if(draftRoleList[char.character_name]){
return {
...draftRoleList[char.character_name],