From be0b1a911b5e36faf8bcc61c452520e97f00cd16 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期一, 28 十月 2024 16:08:22 +0800
Subject: [PATCH] 默认应用场景选择第一个

---
 src/stores/chatRoom.ts |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/stores/chatRoom.ts b/src/stores/chatRoom.ts
index 31f8d3b..3bc36f6 100644
--- a/src/stores/chatRoom.ts
+++ b/src/stores/chatRoom.ts
@@ -49,12 +49,14 @@
 export const activeChatRoom = computed(() => chatRoomList.value?.find((item) => item.id === activeRoomId.value));
 export const activeSampleId = ref(null);
 export const activeSectionAId = ref(null);
+export const topGroupId = ref(null);
+
 export const activeLLMId = ref(null);
 
 /** @description 褰撳墠鑱婂ぉ瀹� groupType */
 export const activeGroupType = computed({
 	get: () => {
-		const result = getRoomConfig(activeRoomId.value, 'activeGroupType');
+		const result = getRoomConfig(activeRoomId.value, 'activeGroupType') ??'涓氬姟鍦烘櫙';
 		return result;
 	},
 	set: (value) => {
@@ -87,7 +89,7 @@
  */
 export const getAllData = async () => {
 	getSceneGroupList();
-	
+
 };
 
 //#endregion

--
Gitblit v1.9.3