캐릭터 챗봇 #74
| @@ -1613,6 +1613,8 @@ export default { | ||||
|         if (this.isEdit) { | ||||
|           // 수정 시 변경된 필드만 전송 | ||||
|           const changedData = this.getChangedFields(); | ||||
|           // 인물관계는 삭제를 포함해 항상 서버와 동기화를 보장하기 위해 항상 포함 | ||||
|           changedData.relationships = this.character.relationships || []; | ||||
|           response = await updateCharacter(changedData, this.character.image); | ||||
|         } else { | ||||
|           // 신규 등록 시 ID 필드를 제외한 데이터 전송 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user