From 76a65d6ef15940a6e505afcd9b82531258df3eba Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 11 Dec 2024 10:22:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E4=B8=AD=E7=9A=84html=E6=A0=87=E7=AD=BE=E5=92=8C=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit daf27a76ab44c605d8b4189851db8fd6e962e21d) --- .../ai-chat/component/operation-button/ChatOperationButton.vue | 3 --- .../ai-chat/component/operation-button/LogOperationButton.vue | 3 --- 2 files changed, 6 deletions(-) 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 c9ec63656..c9c8bc5b6 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -154,10 +154,7 @@ function markdownToPlainText(md: string) { function removeFormRander(text: string) { return text - .replace('你好,请先填写下面表单内容:', '') - .replace('请先填写以下表单并点击提交按钮', '') .replace(/[\s\S]*?<\/form_rander>/g, '') - .replace('填写后请点击【提交】按钮进行提交。', '') .trim() } diff --git a/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue index 5fe74b9f5..77d8470f0 100644 --- a/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue @@ -133,10 +133,7 @@ function markdownToPlainText(md: string) { function removeFormRander(text: string) { return text - .replace('你好,请先填写下面表单内容:', '') - .replace('请先填写以下表单并点击提交按钮', '') .replace(/[\s\S]*?<\/form_rander>/g, '') - .replace('填写后请点击【提交】按钮进行提交。', '') .trim() }