gerson
2024-06-30 9d2291d4fe44c8f3e6018103aa576fe6bfb483a9
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/waterLeftAside/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);