【解决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()
// 2
res.sort((a, b) => {
return b.updateTime - a.updateTime
return b.createTime - a.createTime
})
conversationList.value = res
// 3