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/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