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/components/var-list/index.tsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/workflow/nodes/variable-assigner/components/var-list/index.tsx b/app/components/workflow/nodes/variable-assigner/components/var-list/index.tsx index a007463..9afc4a0 100644 --- a/app/components/workflow/nodes/variable-assigner/components/var-list/index.tsx +++ b/app/components/workflow/nodes/variable-assigner/components/var-list/index.tsx @@ -8,7 +8,6 @@ import VarReferencePicker from '@/app/components/workflow/nodes/_base/components/variable/var-reference-picker' import type { ValueSelector, Var } from '@/app/components/workflow/types' import { VarType as VarKindType } from '@/app/components/workflow/nodes/tool/types' -import { noop } from 'lodash-es' type Props = { readonly: boolean @@ -24,7 +23,7 @@ nodeId, list, onChange, - onOpen = noop, + onOpen = () => { }, filterVar, }) => { const { t } = useTranslation() @@ -75,6 +74,7 @@ /> {!readonly && ( <RemoveButton + className='!p-2 !bg-gray-100 hover:!bg-gray-200' onClick={handleVarRemove(index)} /> )} -- Gitblit v1.8.0