| | |
| | | * 全局使用的 ref |
| | | */ |
| | | export const sectionAList = ref([]); |
| | | export const isShowLogin = ref(false); |
| | | export const isLoginStatus = ref(false); |
| | | |
| | | //#region ====================== 全局使用数据 ====================== |
| | | // group 列表 |
| | |
| | | /** @description 聊天室展示模式 */ |
| | | // export const chatDisplayMode = ref<ChatMode>('default'); |
| | | |
| | | export const SHARE_PAGE_NAME = 'ShareAnswer' |
| | | export const SHARE_PAGE_NAME = 'ShareAnswer'; |
| | | export const isSharePage = computed(() => { |
| | | const isShare = router.currentRoute.value.name === SHARE_PAGE_NAME; |
| | | return isShare; |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | export const newChatRoomClick = async () => { |
| | | const res = await CreateHistoryGroup({ |
| | |
| | | }, |
| | | }); |
| | | } |
| | | |
| | | }; |
| | | // 是否已经展示引导 |
| | | export const hadShowFirstGuide = ref(false); |
| | | export const hadShowFirstGuide = ref(false); |
| | | //是否是新老用户 |
| | | export const isNewOldUser = ref(null); |