diff --git a/demo-album/lib/cos-wx-sdk-v5.js b/demo-album/lib/cos-wx-sdk-v5.js index e331f03..dfbab8b 100644 --- a/demo-album/lib/cos-wx-sdk-v5.js +++ b/demo-album/lib/cos-wx-sdk-v5.js @@ -9892,7 +9892,7 @@ function uploadFile(params, callback) { var SliceSize = params.SliceSize === undefined ? self.options.SliceSize : params.SliceSize; var taskList = []; - // util.each(params.files, function (fileParams, index) { + var FileSize = params.FileSize; var fileInfo = {TaskId: ''}; diff --git a/demo/lib/cos-wx-sdk-v5.js b/demo/lib/cos-wx-sdk-v5.js index e331f03..dfbab8b 100644 --- a/demo/lib/cos-wx-sdk-v5.js +++ b/demo/lib/cos-wx-sdk-v5.js @@ -9892,7 +9892,7 @@ function uploadFile(params, callback) { var SliceSize = params.SliceSize === undefined ? self.options.SliceSize : params.SliceSize; var taskList = []; - // util.each(params.files, function (fileParams, index) { + var FileSize = params.FileSize; var fileInfo = {TaskId: ''}; diff --git a/src/advance.js b/src/advance.js index 8322f6c..090a730 100644 --- a/src/advance.js +++ b/src/advance.js @@ -810,7 +810,7 @@ function uploadFile(params, callback) { var SliceSize = params.SliceSize === undefined ? self.options.SliceSize : params.SliceSize; var taskList = []; - // util.each(params.files, function (fileParams, index) { + var FileSize = params.FileSize; var fileInfo = {TaskId: ''};