Removed testovací PDFkový ajfrejm
This commit is contained in:
parent
492a1924b2
commit
7b53d92a39
@ -63,8 +63,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button v-on:click="createPdf">Generate a PDF</button>
|
||||
<iframe :src="pdfSrc" width="1000" height="1000" frameborder="0"></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -331,9 +329,7 @@ export default {
|
||||
bolditalics: location.origin + "/Source_Serif_Pro/SourceSerifPro-BoldItalic.ttf",
|
||||
}
|
||||
}
|
||||
pdfMake.createPdf(dd).getDataUrl((dataUrl) => {
|
||||
this.pdfSrc = dataUrl;
|
||||
});
|
||||
pdfMake.createPdf(dd).open()
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user