Authored by 周少峰

'round'

... ... @@ -1002,7 +1002,7 @@
},
}
uploader.on('media_progress', function (info) {
self.videoUploaderInfo.progress = info.percent;
self.videoUploaderInfo.progress = Math.round(info.percent);
})
uploader.on('media_upload', function (info) {
self.videoUploaderInfo.isVideoUploadSuccess = true;
... ...