| | |
| | | import { computed, onMounted, reactive } from 'vue'; |
| | | import { getSectionList } from '/@/api/ai/chat'; |
| | | import router from '/@/router'; |
| | | import { activeRoomId, activeSectionAId, setRoomConfig } from '/@/stores/chatRoom'; |
| | | import { activeRoomId, activeSectionAId, setRoomConfig, sectionAList } from '/@/stores/chatRoom'; |
| | | |
| | | let state = reactive({ |
| | | applicationScenarios: [], |
| | |
| | | sectionItem.Icon = iconList[index]; |
| | | }); |
| | | state.applicationScenarios = res.sections; |
| | | emits('tagListClick', res.sections); |
| | | sectionAList.value = res.sections; |
| | | res.sections?.[0] && changeScenarios(res.sections[0]); |
| | | }; |
| | | const groupedArray = computed(() => { |