@@ -155,7 +155,7 @@ async function awsuploadpart(filestate, file, uploadid, parts, key) {
let uploadpart;
let start = 0;
let end = 0;
- let len = Math.ceil(file.length / partsize); //循环的长度
+ let len = Math.ceil(file.size / partsize); //循环的长度
if (partarr.length) {
filestate.status = "processing";
filestate.percent = parseInt((completeparts.length * 100) / count);