lsc 2 月之前
父节点
当前提交
a30bec9626
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/Common/uploadR2R.js

+ 1 - 1
js/Common/uploadR2R.js

@@ -24,7 +24,7 @@ window.uploadFile = async function ({ file, uuid, userid, folderid, moFolderid }
       method: 'POST',
       body: formData,
       headers: {
-        'Content-Type': 'multipart/form-data'
+        'Content-Type': 'application/json'
       }
     });