Skip to content

Commit eb06de0

Browse files
authored
refactor: Modify the triggering method of the variable selector in the modification object subtree panel(langgenius#22237) (langgenius#22238)
1 parent 58d9297 commit eb06de0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • web/app/components/workflow/nodes/_base/components/variable/object-child-tree-panel/picker

web/app/components/workflow/nodes/_base/components/variable/object-child-tree-panel/picker/field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const Field: FC<Props> = ({
4141
<Tooltip popupContent={t('app.structOutput.moreFillTip')} disabled={depth !== MAX_DEPTH + 1}>
4242
<div
4343
className={cn('flex items-center justify-between rounded-md pr-2', !readonly && 'hover:bg-state-base-hover', depth !== MAX_DEPTH + 1 && 'cursor-pointer')}
44-
onClick={() => !readonly && onSelect?.([...valueSelector, name])}
44+
onMouseDown={() => !readonly && onSelect?.([...valueSelector, name])}
4545
>
4646
<div className='flex grow items-stretch'>
4747
<TreeIndentLine depth={depth} />

0 commit comments

Comments
 (0)