浏览代码

refactor: Modify the triggering method of the variable selector in the modification object subtree panel(#22237) (#22238)

tags/1.7.0
yijq 3 个月前
父节点
当前提交
eb06de0921
没有帐户链接到提交者的电子邮件

+ 1
- 1
web/app/components/workflow/nodes/_base/components/variable/object-child-tree-panel/picker/field.tsx 查看文件

@@ -41,7 +41,7 @@ const Field: FC<Props> = ({
<Tooltip popupContent={t('app.structOutput.moreFillTip')} disabled={depth !== MAX_DEPTH + 1}>
<div
className={cn('flex items-center justify-between rounded-md pr-2', !readonly && 'hover:bg-state-base-hover', depth !== MAX_DEPTH + 1 && 'cursor-pointer')}
onClick={() => !readonly && onSelect?.([...valueSelector, name])}
onMouseDown={() => !readonly && onSelect?.([...valueSelector, name])}
>
<div className='flex grow items-stretch'>
<TreeIndentLine depth={depth} />

正在加载...
取消
保存