From 7166af32bfa8638c93fb5c655e1404746e1d503e Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 22 七月 2024 13:51:38 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/WI/Web.V1.0 --- src/views/project/ch/home/component/waterRight/bottom.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/project/ch/home/component/waterRight/bottom.vue b/src/views/project/ch/home/component/waterRight/bottom.vue index a92e7aa..cb72e7f 100644 --- a/src/views/project/ch/home/component/waterRight/bottom.vue +++ b/src/views/project/ch/home/component/waterRight/bottom.vue @@ -63,6 +63,9 @@ applicationScenarios: [], scenariosIds: [], }); +const emits = defineEmits<{ + (event: 'tagListClick', data): void; +}>(); const changeScenarios = async (item) => { activeSectionAId.value = item.section_id; setRoomConfig(activeRoomId.value, 'isAnswerByLLM', false); @@ -85,6 +88,7 @@ sectionItem.Icon = iconList[index]; }); state.applicationScenarios = res.sections; + emits('tagListClick', res.sections); res.sections?.[0] && changeScenarios(res.sections[0]); }; const groupedArray = computed(() => { -- Gitblit v1.9.3