diff --git a/pages/search/[id].vue b/pages/search/[id].vue index 8a50db0abd9b2a98df23f91956490162918c8e99..08fff34412ff63b62dceac1b08b688c9e6527b65 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 }