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/variable-assigner/panel.tsx |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/app/components/workflow/nodes/variable-assigner/panel.tsx b/app/components/workflow/nodes/variable-assigner/panel.tsx
index 67ec102..6152e0f 100644
--- a/app/components/workflow/nodes/variable-assigner/panel.tsx
+++ b/app/components/workflow/nodes/variable-assigner/panel.tsx
@@ -7,7 +7,7 @@
 import type { VariableAssignerNodeType } from './types'
 import VarGroupItem from './components/var-group-item'
 import cn from '@/utils/classnames'
-import type { NodePanelProps } from '@/app/components/workflow/types'
+import { type NodePanelProps } from '@/app/components/workflow/types'
 import Split from '@/app/components/workflow/nodes/_base/components/split'
 import OutputVars, { VarItem } from '@/app/components/workflow/nodes/_base/components/output-vars'
 import Switch from '@/app/components/base/switch'
@@ -39,7 +39,7 @@
 
   return (
     <div className='mt-2'>
-      <div className='space-y-4 px-4 pb-4'>
+      <div className='px-4 pb-4 space-y-4'>
         {!isEnableGroup
           ? (
             <VarGroupItem
@@ -99,20 +99,22 @@
       {isEnableGroup && (
         <>
           <Split />
-          <OutputVars>
-            <>
-              {inputs.advanced_settings?.groups.map((item, index) => (
-                <VarItem
-                  key={index}
-                  name={`${item.group_name}.output`}
-                  type={item.output_type}
-                  description={t(`${i18nPrefix}.outputVars.varDescribe`, {
-                    groupName: item.group_name,
-                  })}
-                />
-              ))}
-            </>
-          </OutputVars>
+          <div className='px-4 pt-4 pb-2'>
+            <OutputVars>
+              <>
+                {inputs.advanced_settings?.groups.map((item, index) => (
+                  <VarItem
+                    key={index}
+                    name={`${item.group_name}.output`}
+                    type={item.output_type}
+                    description={t(`${i18nPrefix}.outputVars.varDescribe`, {
+                      groupName: item.group_name,
+                    })}
+                  />
+                ))}
+              </>
+            </OutputVars>
+          </div>
         </>
       )}
       <RemoveEffectVarConfirm

--
Gitblit v1.8.0