【解决todo】处理 AI 对话排序
This commit is contained in:
parent
f164225bbe
commit
5c15b7f503
@ -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、默认选中
|
||||||
|
Loading…
Reference in New Issue
Block a user