fix: http nodes update error and support json

This commit is contained in:
Joel
2024-03-06 11:34:07 +08:00
parent 9839b5cb53
commit 8a906e2959
4 changed files with 11 additions and 4 deletions

View File

@ -57,7 +57,6 @@ const Panel: FC<NodePanelProps<CodeNodeType>> = ({
/>
</Field>
<Split />
{inputs.code_language}
<CodeEditor
readOnly={readOnly}
title={

View File

@ -3,6 +3,7 @@ import type { CommonNodeType, Variable } from '@/app/components/workflow/types'
export enum CodeLanguage {
python3 = 'python3',
javascript = 'javascript',
json = 'json',
}
export type OutputVar = {