lsc 2 달 전
부모
커밋
0d1f0fd46e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      js/Common/uploadR2R.js

+ 1 - 1
js/Common/uploadR2R.js

@@ -40,7 +40,7 @@ window.uploadFile = async function ({ file, uuid, userid, folderid, moFolderid }
       headers: {
         'Content-Type': 'application/x-www-form-urlencoded'
       },
-      body: JSON.stringify(params) // 将params对象转换为JSON字符串
+      body: params // 将params对象转换为JSON字符串
     });
     console.log("上传成功");
     return { code: 200, msg: "上传成功" }