This commit is contained in:
tocque 2020-01-21 22:39:39 +08:00
parent 99a247a29c
commit 4e648a0537

View File

@ -1179,7 +1179,7 @@ utils.prototype.unzip = function (blobOrUrl, success, error, convertToText, onpr
if (typeof blobOrUrl == 'string') {
return core.http('GET', blobOrUrl, null, function (data) {
core.unzip(data, success, error, convertToText);
}, _error, 'application/zip', 'blob', onprogress);
}, _error, null, 'blob', onprogress);
}
if (!(blobOrUrl instanceof Blob)) {