This commit is contained in:
Julian Krauser 2025-07-12 17:13:32 +02:00
parent 98bf4532aa
commit 6c8c0939b4
8 changed files with 27 additions and 14 deletions

View file

@ -49,7 +49,6 @@ export default defineComponent({
const fileURL = window.URL.createObjectURL(new Blob([response.data]));
const fileLink = this.$refs.download as HTMLAnchorElement;
fileLink.href = fileURL;
console.log(this.data);
fileLink.setAttribute(
"download",
this.data.others == "pdf" ? `${this.data.title}.pdf` : `${this.data.title}.png`