Commit a96a2ec9 by cherishsince

【优化】AI chat 默认选中对话,刷新增加加载中显示

parent a431867f
...@@ -481,9 +481,11 @@ onMounted(async () => { ...@@ -481,9 +481,11 @@ onMounted(async () => {
// 设置当前对话 TODO 角色仓库过来的,自带 conversationId 需要选中 // 设置当前对话 TODO 角色仓库过来的,自带 conversationId 需要选中
if (route.query.conversationId) { if (route.query.conversationId) {
const id = route.query.conversationId as string const id = route.query.conversationId as string
activeConversationId.value = id
await getConversation(id) await getConversation(id)
} }
// 获取列表数据 // 获取列表数据
listLoading.value = true
await getMessageList() await getMessageList()
}) })
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment