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

This commit is contained in:
cherishsince 2024-05-21 22:21:45 +08:00
parent a431867f41
commit a96a2ec9ec

View File

@ -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>