root 4 mesiacov pred
rodič
commit
3c970692d1
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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;
 }
 
 //上传的接口