From e2d1545d46f3ed1c98a80d74561a31369901d632 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 01 七月 2020 15:50:51 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/matCode/matCode.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/matCode/matCode.js b/src/main/webapp/static/js/matCode/matCode.js index fc21fd5..b3c4d7e 100644 --- a/src/main/webapp/static/js/matCode/matCode.js +++ b/src/main/webapp/static/js/matCode/matCode.js @@ -14,7 +14,7 @@ headers: {token: localStorage.getItem('token')}, url: baseUrl+'/matCode/list/auth', page: true, - limit: 3, + limit: 16, limits: [16, 50, 100, 200, 500], even: true, toolbar: '#toolbar', @@ -359,7 +359,9 @@ var template = Handlebars.compile(tpl); var html = template(res); let box = $("#box"); - box.html(html);box.show();box.print();box.hide(); + box.html(html);box.show(); + box.print({mediaPrint:true}); + box.hide(); } else if (res.code === 403){ top.location.href = baseUrl+"/"; }else { -- Gitblit v1.9.1