yangyin
2024-07-05 a8eec18144b57b95ca5b5295b86e8a793fe6391a
1
2
3
4
5
6
7
8
9
10
11
12
13
import { computed, ref, watch } from 'vue';
import type { ChatRoomItem } from '../layout/component/sidebar/components/types';
import { Local } from '../utils/storage';
 
export const chatRoomList = ref<ChatRoomItem[]>([]);
 
 
 
export const activeRoomId = ref(null);
export const activeChatRoom = computed(() => chatRoomList.value?.find((item) => item.id === activeRoomId.value));
export const activeSampleId = ref(null);
export const activeSectionAId= ref(null);
export const activeLLMId= ref(null);