【优化】AI chat 默认选中对话,刷新增加加载中显示
This commit is contained in:
parent
a431867f41
commit
a96a2ec9ec
@ -481,9 +481,11 @@ onMounted(async () => {
|
||||
// 设置当前对话 TODO 角色仓库过来的,自带 conversationId 需要选中
|
||||
if (route.query.conversationId) {
|
||||
const id = route.query.conversationId as string
|
||||
activeConversationId.value = id
|
||||
await getConversation(id)
|
||||
}
|
||||
// 获取列表数据
|
||||
listLoading.value = true
|
||||
await getMessageList()
|
||||
})
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user