feat: add boundary

This commit is contained in:
shiweisong.ssw 2023-06-28 17:41:57 +08:00
parent 6c7d47d374
commit 184ec66d22
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ const Documents = () => {
{
method: 'POST',
headers: {
'Content-Type': 'multipart/form-data'
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
},
body: JSON.stringify({
doc_name: documentName,

View File

@ -349,7 +349,7 @@ const Index = () => {
{
method: 'POST',
headers: {
'Content-Type': 'multipart/form-data'
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
},
body: JSON.stringify({
doc_name: documentName,