【解决todo】处理 AI 对话排序

This commit is contained in:
cherishsince 2024-05-21 11:33:28 +08:00
parent f164225bbe
commit 5c15b7f503

View File

@ -151,7 +151,7 @@ const getChatConversationList = async () => {
const res = await ChatConversationApi.getChatConversationMyList() const res = await ChatConversationApi.getChatConversationMyList()
// 2 // 2
res.sort((a, b) => { res.sort((a, b) => {
return b.updateTime - a.updateTime return b.createTime - a.createTime
}) })
conversationList.value = res conversationList.value = res
// 3 // 3