diff --git a/web/app/components/workflow/nodes/variable-assigner/panel.tsx b/web/app/components/workflow/nodes/variable-assigner/panel.tsx index 63bb4870d3..ac3663639e 100644 --- a/web/app/components/workflow/nodes/variable-assigner/panel.tsx +++ b/web/app/components/workflow/nodes/variable-assigner/panel.tsx @@ -10,6 +10,8 @@ import AddButton from '@/app/components/base/button/add-button' import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import type { NodePanelProps } from '@/app/components/workflow/types' import { VarType } 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' const i18nPrefix = 'workflow.nodes.variableAssigner' const Panel: FC> = ({ @@ -73,7 +75,18 @@ const Panel: FC> = ({ /> - + +
+ + <> + + + +
) } diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts index c092d60882..a1f717ade3 100644 --- a/web/i18n/en-US/workflow.ts +++ b/web/i18n/en-US/workflow.ts @@ -258,6 +258,9 @@ const translation = { object: 'Object', array: 'Array', }, + outputVars: { + output: 'Assigned variable value', + }, }, tool: { toAuthorize: 'To authorize', diff --git a/web/i18n/zh-Hans/workflow.ts b/web/i18n/zh-Hans/workflow.ts index 620d21a996..dc868fd992 100644 --- a/web/i18n/zh-Hans/workflow.ts +++ b/web/i18n/zh-Hans/workflow.ts @@ -258,6 +258,9 @@ const translation = { object: 'Object', array: 'Array', }, + outputVars: { + output: '指派的变量值', + }, }, tool: { toAuthorize: '授权',