yangyin
2024-07-02 4d513546eedc4738cf1b7b73425bffd4c60cc6b0
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);