root 5 months ago
parent
commit
3c970692d1
1 changed files with 3 additions and 1 deletions
  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;
 }
 
 //上传的接口