From b4933471cd31a6df04386d02cd547d7565ab939d Mon Sep 17 00:00:00 2001 From: papapatrick <109422393+Patrickill@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:16:44 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=9F=A5=E8=AF=86=E5=9D=97?= =?UTF-8?q?=E9=83=BD=E6=94=B9=E4=B8=BAmarkdown=E6=B8=B2=E6=9F=93=20(#3389)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projects/app/src/components/core/dataset/QuoteItem.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/app/src/components/core/dataset/QuoteItem.tsx b/projects/app/src/components/core/dataset/QuoteItem.tsx index e6ff62bef..b9ad40ce2 100644 --- a/projects/app/src/components/core/dataset/QuoteItem.tsx +++ b/projects/app/src/components/core/dataset/QuoteItem.tsx @@ -10,6 +10,7 @@ import dynamic from 'next/dynamic'; import MyBox from '@fastgpt/web/components/common/MyBox'; import { SearchScoreTypeEnum, SearchScoreTypeMap } from '@fastgpt/global/core/dataset/constants'; import type { readCollectionSourceBody } from '@/pages/api/core/dataset/collection/read'; +import Markdown from '@/components/Markdown'; const InputDataModal = dynamic(() => import('@/pages/dataset/detail/components/InputDataModal')); @@ -173,8 +174,8 @@ const QuoteItem = ({ - {quoteItem.q} - {quoteItem.a} + +