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: "上传成功" }