Use @beforeDownload and generatePdf() action generates two PDF
JacquesJahnichen opened this issue · 7 comments
JacquesJahnichen commented
JacquesViviarto commented
A little reminder on this subject
JacquesViviarto commented
If anyone has an idea to solve this problem, it is welcome.
rogerio-pereira commented
+1
rogerio-pereira commented
@JacquesViviarto set both variables: preview-modal and enable-download to false
That solved for me
AloneInMyMind commented
@JacquesViviarto set both variables: preview-modal and enable-download to false
That solved for me
The problem of this solution is that now the @hasDownloaded doesn't work anymore, if anyone has a solution please let me know
rogerio-pereira commented
@AloneInMyMind
use beforeDownload, also set both variables.
It`s working for me
JacquesViviarto commented
Thanks for your help. This config work for me
<vue-html2pdf
:preview-modal="false"
:enable-download="false"
@beforeDownload="beforeDownload">