mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 03:35:57 +08:00
fix workflow output
This commit is contained in:
parent
5dedcb74a5
commit
f7f836d6f1
@ -57,7 +57,7 @@ const ResultTab = ({
|
|||||||
{currentTab === 'RESULT' && (
|
{currentTab === 'RESULT' && (
|
||||||
<>
|
<>
|
||||||
<Markdown content={data?.resultText || ''} />
|
<Markdown content={data?.resultText || ''} />
|
||||||
{data?.files?.length && (
|
{!!data?.files?.length && (
|
||||||
<FileList
|
<FileList
|
||||||
files={data?.files}
|
files={data?.files}
|
||||||
showDeleteAction={false}
|
showDeleteAction={false}
|
||||||
@ -67,14 +67,15 @@ const ResultTab = ({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{currentTab === 'DETAIL' && content && (
|
{currentTab === 'DETAIL' && content && (
|
||||||
<CodeEditor
|
<div className='mt-1'>
|
||||||
readOnly
|
<CodeEditor
|
||||||
title={<div>JSON OUTPUT</div>}
|
readOnly
|
||||||
language={CodeLanguage.json}
|
title={<div>JSON OUTPUT</div>}
|
||||||
value={content}
|
language={CodeLanguage.json}
|
||||||
isJSONStringifyBeauty
|
value={content}
|
||||||
showFileList
|
isJSONStringifyBeauty
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user