Skip to content

Commit

Permalink
修复七牛上传失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
siqiii committed Nov 1, 2024
1 parent 00786c7 commit 3b70266
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wfc/proto/proto.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,6 @@ class WfcImpl {
formData.append('token', token)
formData.append('file', file)
xhr.open('POST', url);
xhr.setRequestHeader('content-type', contentType);
xhr.setRequestHeader("content-disposition", `attachment; filename="${fileName}"`);
xhr.send(formData);
} else {
Expand Down

0 comments on commit 3b70266

Please sign in to comment.