【解决todo】chat 默认选中对话

This commit is contained in:
cherishsince 2024-05-24 16:42:27 +08:00
parent 09c03abf51
commit 63693f7a83

View File

@ -387,6 +387,8 @@ onMounted(async () => {
// //
if (conversationList.value.length) { if (conversationList.value.length) {
activeConversationId.value = conversationList.value[0].id activeConversationId.value = conversationList.value[0].id
// onConversationClick
await emits('onConversationClick', conversationList.value[0])
} }
} }
}) })