wwf
2 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
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)}
            />
          )}