src/main/webapp/static/js/trayCode/trayCode.js
@@ -297,6 +297,17 @@ }); function printPreview(content) { var tpl = $('#trayCodeTemplate').html(); var template = Handlebars.compile(tpl); var html = template(content); let box = $("#printBox"); box.html(html); box.show(); box.print(); box.hide(); } // 关闭动作 $(document).on('click','#data-detail-close', function () { parent.layer.closeAll();