mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-02 11:47:57 +08:00
chore: ts error
This commit is contained in:
parent
f83a674b1f
commit
2f5a103866
@ -115,9 +115,7 @@ export const getBlobUrl = (inputStream, inputFileType) => {
|
||||
type: inputFileType,
|
||||
});
|
||||
} else {
|
||||
//@ts-ignore
|
||||
const tmpBlobBuilder =
|
||||
window.BlobBuilder || window.MozBlobBuilder || window.WebKitBlobBuilder || window.MSBlobBuilder;
|
||||
const tmpBlobBuilder =window["BlobBuilder"] || window["MozBlobBuilder"] || window["WebKitBlobBuilder"] || window["MSBlobBuilder"];
|
||||
const tmpBlobClass = new tmpBlobBuilder();
|
||||
tmpBlobClass.append(inputStream);
|
||||
tmpBlob = tmpBlobClass.getBlob(inputFileType);
|
||||
|
Loading…
Reference in New Issue
Block a user