edited chat message now is marked as Normal

This commit is contained in:
josc146 2023-10-27 13:11:12 +08:00
parent 7078f47f72
commit 6c73eae9f6

View File

@ -164,6 +164,10 @@ const ChatMessageItem: FC<{
value={messageItem.content}
onChange={(e) => {
messageItem.content = e.target.value;
commonStore.conversation[uuid].type = MessageType.Normal;
commonStore.conversation[uuid].done = true;
commonStore.setConversation(commonStore.conversation);
commonStore.setConversationOrder([...commonStore.conversationOrder]);
}}
onBlur={() => {
setEditingInner(false);