소스 검색

fix: cannot change file uploader method (#3710)

tags/0.6.5
Luvian77 1 년 전
부모
커밋
96160837d2
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      web/app/components/base/features/feature-panel/file-upload/param-config-content.tsx

+ 1
- 1
web/app/components/base/features/feature-panel/file-upload/param-config-content.tsx 파일 보기

@@ -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…
취소
저장