Skip to content

Commit

Permalink
fix(Upload): upload method does not work (#2034)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-tengfei authored Mar 3, 2023
1 parent d17bef2 commit 06949b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/upload/hooks/useUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export default function useUpload(props: TdUploadProps) {
setUploading(true);
upload({
action: props.action,
method: props.method,
headers: props.headers,
name: props.name,
withCredentials: props.withCredentials,
Expand Down

0 comments on commit 06949b6

Please sign in to comment.