From 16b491229cc9f37547a5d30bfecf74bcdd53d31b Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期五, 19 七月 2024 17:49:27 +0800
Subject: [PATCH] updateChatInput

---
 src/views/project/ch/home/component/waterRight/top.vue |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/views/project/ch/home/component/waterRight/top.vue b/src/views/project/ch/home/component/waterRight/top.vue
index 9f4e757..8216001 100644
--- a/src/views/project/ch/home/component/waterRight/top.vue
+++ b/src/views/project/ch/home/component/waterRight/top.vue
@@ -94,12 +94,16 @@
 	setLLm(item.logicId);
 };
 
-onMounted(() => {
-	// getLLMList();
-	emitter.on('updateChatInput', (value) => {
-		inputValue.value = value;
-	});
-});
+const updateChatInput = (val)=>{
+	inputValue.value = val;
+
+}
+
+defineExpose({
+	updateChatInput
+})
+
+
 </script>
 <style scoped lang="scss">
 .set-waterTitle {

--
Gitblit v1.9.3