|
|
@ -225,7 +225,9 @@ export default {
|
|
|
|
const url = window.URL.createObjectURL(blob);
|
|
|
|
const url = window.URL.createObjectURL(blob);
|
|
|
|
const link = document.createElement("a");
|
|
|
|
const link = document.createElement("a");
|
|
|
|
link.href = url;
|
|
|
|
link.href = url;
|
|
|
|
link.download = name;
|
|
|
|
console.log(name);
|
|
|
|
|
|
|
|
link.download = name.split("/").pop();
|
|
|
|
|
|
|
|
|
|
|
|
document.body.appendChild(link);
|
|
|
|
document.body.appendChild(link);
|
|
|
|
link.click();
|
|
|
|
link.click();
|
|
|
|
document.body.removeChild(link);
|
|
|
|
document.body.removeChild(link);
|
|
|
|