src/views/project/ch/home/component/waterRight/center.vue
@@ -44,6 +44,7 @@ const exampleList = ref([]); //模版列表 const emits = defineEmits<{ (event: 'advanceExampleClick', data): void; (event:'updateChatInput',val):void; }>(); onMounted(() => { getSelectListSample(); @@ -77,6 +78,7 @@ }; const changeExample = (item) => { emits('updateChatInput',item.sample_question) setRoomConfig(activeRoomId.value, 'isAnswerByLLM', false); activeSampleId.value = item.sample_id; };