root il y a 4 mois
Parent
commit
3c970692d1
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      js/Common/awsupload.js

+ 3 - 1
js/Common/awsupload.js

@@ -178,7 +178,9 @@ async function awsuploadpart(filestate, file, uploadid, parts, key) {
         }
     }
     //提交上传成功信息
-    return await completeMultipartUpload(completeparts, uploadid);
+    var data = await completeMultipartUpload(completeparts, uploadid);
+    filestate.status = "success";
+    return data;
 }
 
 //上传的接口