lsc hai 2 meses
pai
achega
0d1f0fd46e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: "上传成功" }