root 4 月之前
父節點
當前提交
3c970692d1
共有 1 個文件被更改,包括 3 次插入1 次删除
  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;
 }
 
 //上传的接口