mirror of https://github.com/langgenius/dify.git
fix: tool's model selector and app selector not work (#22291)
This commit is contained in:
parent
e7388779a1
commit
aa6cad5f1d
|
|
@ -242,7 +242,7 @@ const FormInputItem: FC<Props> = ({
|
|||
<AppSelector
|
||||
disabled={readOnly}
|
||||
scope={scope || 'all'}
|
||||
value={varInput?.value as any}
|
||||
value={varInput as any}
|
||||
onSelect={handleAppOrModelSelect}
|
||||
/>
|
||||
)}
|
||||
|
|
@ -251,7 +251,7 @@ const FormInputItem: FC<Props> = ({
|
|||
popupClassName='!w-[387px]'
|
||||
isAdvancedMode
|
||||
isInWorkflow
|
||||
value={varInput?.value as any}
|
||||
value={varInput}
|
||||
setModel={handleAppOrModelSelect}
|
||||
readonly={readOnly}
|
||||
scope={scope}
|
||||
|
|
|
|||
Loading…
Reference in New Issue