gerson
2024-07-06 542b404c51f67b8fb9e56ed0ba0562e31af7d257
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);