From b2623f99d7aa231eff76ef52665813df3ee6939b Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <xltys1995> Date: 星期六, 10 四月 2021 00:28:21 +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