|
@@ -1279,11 +1279,9 @@ export default {
|
|
|
let blob = new Blob([res], {
|
|
|
type: type
|
|
|
});
|
|
|
- if (fileExtension !== 'pdf') {
|
|
|
blob = new Blob([res.data], {
|
|
|
type: type
|
|
|
});
|
|
|
- }
|
|
|
let blobURL = urlObject.createObjectURL(blob);
|
|
|
that.dialogVisible = true;
|
|
|
that.previewUrl = blobURL;
|