mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 22:59:03 +08:00
fix: cannot change file uploader method (#3710)
This commit is contained in:
parent
3480f1c59e
commit
96160837d2
@ -38,7 +38,7 @@ const ParamConfigContent = ({
|
||||
} = featuresStore!.getState()
|
||||
const newFeatures = produce(features, (draft) => {
|
||||
if (draft.file?.image) {
|
||||
if (TransferMethod.all)
|
||||
if (value === TransferMethod.all)
|
||||
draft.file.image.transfer_methods = [TransferMethod.remote_url, TransferMethod.local_file]
|
||||
else
|
||||
draft.file.image.transfer_methods = [value]
|
||||
|
Loading…
x
Reference in New Issue
Block a user