From bc913dfd39bfd54de6c27f3b8a11515ef9f5376a Mon Sep 17 00:00:00 2001 From: DebugIsFalse Date: Thu, 18 Jul 2024 18:00:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=BD=E4=B8=AD=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E8=AF=8D=E7=9B=B4=E6=8E=A5=E5=88=A0=E9=99=A4=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/search/[id].vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/search/[id].vue b/pages/search/[id].vue index 8a50db0..08fff34 100644 --- a/pages/search/[id].vue +++ b/pages/search/[id].vue @@ -280,9 +280,17 @@ function handleFormFetchData (fetchData) { } // 处理审核异常 if (handleSetServiceErrorInfo(message)) { - const errorInfo = handleSetServiceErrorInfo(message) - Object.assign(askingData.value, { article: errorInfo, source: [], processStatus: 'finish' }) + // const errorInfo = handleSetServiceErrorInfo(message) + // Object.assign(askingData.value, { article: errorInfo, source: [], processStatus: 'finish' }) recommendQuestions.value = [] + askingData.value = {}; + const toast = useToast() + toast.add({ + icon: 'i-heroicons-exclamation-triangle-20-solid', + timeout: 3000, + title: '内容包含敏感信息,请修改后重试', + color: 'red' + }) handleStopGenerate() return } -- GitLab