From 6575ff94ec9ab3d2f5cb4155b422abe055b709f6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 13 四月 2021 18:10:15 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/mat/mat.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/mat/mat.js b/src/main/webapp/static/js/mat/mat.js index 117704c..8f563ab 100644 --- a/src/main/webapp/static/js/mat/mat.js +++ b/src/main/webapp/static/js/mat/mat.js @@ -55,6 +55,7 @@ even: true, toolbar: '#toolbar', cellMinWidth: 50, + height: 'full-100', cols: [[ {type: 'checkbox'} // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} @@ -360,7 +361,7 @@ var tpl = templateDom.html(); var template = Handlebars.compile(tpl); var html = template(res); - let box = $("#box"); + var box = $("#box"); box.html(html);box.show(); box.print({mediaPrint:true}); box.hide(); -- Gitblit v1.9.1