From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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