黄海 2 years ago
commit c1d29a9a9d

@ -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