|
@@ -413,7 +413,10 @@ export default {
|
|
|
});
|
|
|
return service
|
|
|
.get(url, params, {
|
|
|
- headers: { "Content-Disposition": "attachment" },
|
|
|
+ headers: {
|
|
|
+ "Content-Disposition": `attachment;filename="${filename}"`,
|
|
|
+ "Content-Type": `application/octet-stream`,
|
|
|
+ },
|
|
|
responseType: "blob",
|
|
|
})
|
|
|
.then(async (data) => {
|