From 3593a5ee4d0d799c21f5e34ca15846c4c7837484 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Fri, 27 Mar 2026 09:57:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?bugfix:=20=E5=BC=95=E7=94=A8=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=A2=84=E8=A7=88&projectID=E4=BC=A0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/agent/components/Agent.vue | 12 +++++------- src/views/home/components/Input.vue | 9 +++++---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/views/home/agent/components/Agent.vue b/src/views/home/agent/components/Agent.vue index 116c54f..57a949b 100644 --- a/src/views/home/agent/components/Agent.vue +++ b/src/views/home/agent/components/Agent.vue @@ -56,7 +56,7 @@ const isGenerating = ref(false) const isPaused = ref(false) // 标记是否为主动暂停 const params = reactive({ - projectID: projectStore.state.id, + projectID: null, message: '', token: userStore.state.token, versionID: '', @@ -170,13 +170,16 @@ const abortController = createAbortController() // console.log('token---', params.token, '参数---', params) - + params.projectID = projectStore.state.id try { const urlParams = new URLSearchParams({ ...params, configParams: JSON.stringify(params.configParams) }) const BASEURL = import.meta.env.VITE_APP_URL + // console.log('params', params) + + // debugger const response = await fetch(`${BASEURL}${chatUrl}?${urlParams.toString()}`, { method: 'GET', signal: abortController.signal @@ -609,11 +612,6 @@ return } const { ancestors, current } = data - current.dialogue.forEach((item) => { - if (item.webAddress) { - console.log(item) - } - }) const imgList = [] const ancestorsList = [] diff --git a/src/views/home/components/Input.vue b/src/views/home/components/Input.vue index 9acb96c..2992da0 100644 --- a/src/views/home/components/Input.vue +++ b/src/views/home/components/Input.vue @@ -14,7 +14,7 @@
@@ -824,7 +824,7 @@ const handleQuote = (url: string) => { const hasQuoted = quoteList.value.includes(url) if (hasQuoted) return - quoteList.value.push(url) + quoteList.value[0] = url } onUnmounted(() => { MyEvent.remove('quote', handleQuote) @@ -1066,10 +1066,11 @@ width: 13rem; color: #fff; border-radius: 4.2rem; - font-family: 'MSemiBold'; + font-family: 'SemiBold'; font-weight: 600; - font-size: 1.28rem; + font-size: 1.3rem; cursor: pointer; + column-gap: 0.3rem; .shining-icon { width: 1.4rem; height: 1.4rem; From a8aa9deea2df0b3683e2a3d5bc0df88c3245a913 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Fri, 27 Mar 2026 10:22:13 +0800 Subject: [PATCH 2/2] fix --- .../Canvas/FlowCanvas/components/tools/my-textTools.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Canvas/FlowCanvas/components/tools/my-textTools.vue b/src/components/Canvas/FlowCanvas/components/tools/my-textTools.vue index 5c92f70..ffa3bcb 100644 --- a/src/components/Canvas/FlowCanvas/components/tools/my-textTools.vue +++ b/src/components/Canvas/FlowCanvas/components/tools/my-textTools.vue @@ -1,6 +1,6 @@