fixed bug: mobile chat list could not update chat title

This commit is contained in:
RockYang
2024-06-25 09:53:08 +08:00
parent 0611f8de6c
commit 4171b2bdfb
3 changed files with 5 additions and 1 deletions

View File

@@ -241,7 +241,7 @@ const editChat = (row) => {
tmpChatTitle.value = row.title
}
const saveTitle = () => {
httpPost('/api/chat/update', {id: item.value.id, title: tmpChatTitle.value}).then(() => {
httpPost('/api/chat/update', {chat_id: item.value.chat_id, title: tmpChatTitle.value}).then(() => {
showSuccessToast("操作成功!");
item.value.title = tmpChatTitle.value;
}).catch(e => {