From a665a7f718b2ece6cd9c67200db93e81abcaba43 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 20 Sep 2024 12:05:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E7=B1=BB=E5=9E=8B=E5=8F=82=E6=95=B0=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=BE=93=E5=85=A5=E6=97=B6=EF=BC=8C=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E9=87=8D=E6=96=B0=E7=94=9F=E6=88=90=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=8B=A6=E6=88=AA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index ebe2b3ddf..7d2d1a1af 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -768,6 +768,9 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean) { } function regenerationChart(item: chatType) { + if (!checkInputParam()) { + return + } inputValue.value = item.problem_text if (!loading.value) { chatMessage(null, '', true)