main
kgdxpr 2 years ago
parent 9e257693a4
commit c05f495416

@ -43,6 +43,7 @@
var pdfTpl = pdfScript.innerHTML, var pdfTpl = pdfScript.innerHTML,
pdfView = document.getElementById('pdfView'); pdfView = document.getElementById('pdfView');
laytpl(pdfTpl).render(data, function (html) { laytpl(pdfTpl).render(data, function (html) {
console.log(html);
pdfView.innerHTML = html; pdfView.innerHTML = html;
}); });

Loading…
Cancel
Save