From cbcf3f216f1da5fd11546fc57a481c5f8b2b4109 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 29 Aug 2025 14:52:04 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B5=B0=E6=9F=A5=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chat-view/components/right-view/index.vue | 2 - src/components/xt-chat/chat-view/constants.ts | 2 +- src/components/xt-chat/chat-view/index.vue | 2 +- .../xt-chat/chat-view/useChatHandler.tsx | 44 ++++++++++--------- .../home/components/sender-input/index.vue | 1 - 5 files changed, 26 insertions(+), 25 deletions(-) diff --git a/src/components/xt-chat/chat-view/components/right-view/index.vue b/src/components/xt-chat/chat-view/components/right-view/index.vue index 39e0f0c..382388c 100644 --- a/src/components/xt-chat/chat-view/components/right-view/index.vue +++ b/src/components/xt-chat/chat-view/components/right-view/index.vue @@ -26,8 +26,6 @@ export default { typographer: true, }); - console.log(props.rightViewData) - const dataSource = computed(() => { return props.rightViewData.find((v) => v.task_type === '任务管理') ?? {}; }); diff --git a/src/components/xt-chat/chat-view/constants.ts b/src/components/xt-chat/chat-view/constants.ts index a0a23a1..4e390fa 100644 --- a/src/components/xt-chat/chat-view/constants.ts +++ b/src/components/xt-chat/chat-view/constants.ts @@ -39,7 +39,7 @@ export const ROLE_STYLE = { export const ANSWER_STYLE = { ...ROLE_STYLE, - paddingLeft: '12px', + paddingLeft: '14px', borderLeft: '1px solid #E6E6E8', position: 'relative', left: '6px', diff --git a/src/components/xt-chat/chat-view/index.vue b/src/components/xt-chat/chat-view/index.vue index b584aa3..6592213 100644 --- a/src/components/xt-chat/chat-view/index.vue +++ b/src/components/xt-chat/chat-view/index.vue @@ -149,7 +149,7 @@ export default { return () => (