From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/workflow/nodes/code/panel.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/workflow/nodes/code/panel.tsx b/app/components/workflow/nodes/code/panel.tsx index a0b7535..a0027da 100644 --- a/app/components/workflow/nodes/code/panel.tsx +++ b/app/components/workflow/nodes/code/panel.tsx @@ -13,7 +13,7 @@ import Split from '@/app/components/workflow/nodes/_base/components/split' import CodeEditor from '@/app/components/workflow/nodes/_base/components/editor/code-editor' import TypeSelector from '@/app/components/workflow/nodes/_base/components/selector' -import type { NodePanelProps } from '@/app/components/workflow/types' +import { type NodePanelProps } from '@/app/components/workflow/types' import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/before-run-form' import ResultPanel from '@/app/components/workflow/run/result-panel' const i18nPrefix = 'workflow.nodes.code' @@ -76,7 +76,7 @@ return ( <div className='mt-2'> - <div className='space-y-4 px-4 pb-4'> + <div className='px-4 pb-4 space-y-4'> <Field title={t(`${i18nPrefix}.inputVars`)} operations={ @@ -111,14 +111,14 @@ /> </div> <Split /> - <div className='px-4 pb-2 pt-4'> + <div className='px-4 pt-4 pb-2'> <Field title={t(`${i18nPrefix}.outputVars`)} operations={ <AddButton onClick={handleAddOutputVariable} /> } - required > + <OutputVarList readonly={readOnly} outputs={inputs.outputs} -- Gitblit v1.8.0