Sfoglia il codice sorgente

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

cherishsince 1 anno fa
parent
commit
a96a2ec9ec
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/views/ai/chat/index.vue

+ 2 - 0
src/views/ai/chat/index.vue

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