| | |
| | | /** @description 当前聊天室 groupType */ |
| | | export const activeGroupType = computed({ |
| | | get: () => { |
| | | const result = getRoomConfig(activeRoomId.value, 'activeGroupType') ?? '业务场景'; |
| | | const result = getRoomConfig(activeRoomId.value, 'activeGroupType') ?? groupTypeList.value.at(-1); |
| | | return result; |
| | | }, |
| | | set: (value) => { |
| | |
| | | // 主场景 列表 |
| | | export const sceneGroupList = ref([]); |
| | | // groupType 列表 |
| | | export const groupTypeList = computed(() => Array.from(new Set(sceneGroupList.value.map((item) => item.group_type)))); |
| | | export const groupTypeList = computed(() => |
| | | Array.from(new Set(sceneGroupList.value.map((item) => item.group_type))) |
| | | |
| | | ); |
| | | // 办公/模板 列表 |
| | | export const exampleSceneList = ref([]); |
| | | export const officeList = ref([]); |