From e364d6e373ffe8bb6e940415f9bc754f537fc86e Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 2 Apr 2025 17:52:31 +0800 Subject: [PATCH] fix: remove_form_rander (#2782) --- .../ai-chat/component/operation-button/ChatOperationButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue index cd3ddd490..8f6478214 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -111,7 +111,7 @@ const copy = (data: any) => { const text = data.answer_text_list .map((item: Array) => item.map((i) => i.content).join('\n')) .join('\n\n') - copyClick(text) + copyClick(removeFormRander(text)) } catch (e: any) { copyClick(removeFormRander(data?.answer_text.trim())) }