diff --git a/web/app/components/workflow/nodes/_base/components/readonly-input-with-select-var.tsx b/web/app/components/workflow/nodes/_base/components/readonly-input-with-select-var.tsx index 68deb9b480..3333d10c06 100644 --- a/web/app/components/workflow/nodes/_base/components/readonly-input-with-select-var.tsx +++ b/web/app/components/workflow/nodes/_base/components/readonly-input-with-select-var.tsx @@ -9,6 +9,7 @@ import { getNodeInfoById, isConversationVar, isENV, isSystemVar } from './variab import { Line3 } from '@/app/components/base/icons/src/public/common' import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development' import { BubbleX, Env } from '@/app/components/base/icons/src/vender/line/others' +import { RiMoreLine } from '@remixicon/react' type Props = { nodeId: string value: string @@ -45,6 +46,7 @@ const ReadonlyInputWithSelectVar: FC = ({ const isChatVar = isConversationVar(value) const node = (isSystem ? startNode : getNodeInfoById(availableNodes, value[0]))?.data const varName = `${isSystem ? 'sys.' : ''}${value[value.length - 1]}` + const isShowAPart = value.length > 2 return ( {str} @@ -61,6 +63,12 @@ const ReadonlyInputWithSelectVar: FC = ({ )} + {isShowAPart && ( +
+ + +
+ )}
{!isEnv && !isChatVar && } {isEnv && }