fix zip
This commit is contained in:
parent
99a247a29c
commit
4e648a0537
@ -1179,7 +1179,7 @@ utils.prototype.unzip = function (blobOrUrl, success, error, convertToText, onpr
|
|||||||
if (typeof blobOrUrl == 'string') {
|
if (typeof blobOrUrl == 'string') {
|
||||||
return core.http('GET', blobOrUrl, null, function (data) {
|
return core.http('GET', blobOrUrl, null, function (data) {
|
||||||
core.unzip(data, success, error, convertToText);
|
core.unzip(data, success, error, convertToText);
|
||||||
}, _error, 'application/zip', 'blob', onprogress);
|
}, _error, null, 'blob', onprogress);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(blobOrUrl instanceof Blob)) {
|
if (!(blobOrUrl instanceof Blob)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user