From 6bcd2a28c41fe871f7afca6e27d43c35993ae52e Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 9 Aug 2022 16:43:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/views/modules/demo/demoDataGridMultiGrid.html | 4 ++-- .../main/resources/views/modules/demo/demoFormTabPage.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/main/resources/views/modules/demo/demoDataGridMultiGrid.html b/web/src/main/resources/views/modules/demo/demoDataGridMultiGrid.html index 3adfc6d9..e2300100 100644 --- a/web/src/main/resources/views/modules/demo/demoDataGridMultiGrid.html +++ b/web/src/main/resources/views/modules/demo/demoDataGridMultiGrid.html @@ -62,7 +62,7 @@ $('#dataGrid').dataGrid({ searchForm: $("#searchForm"), dataGridPage: $('#dataGridPage'), autoGridHeight: function(){ - return $('#searchForm').parent().height() - $('#dataGridPage').height() - 45; + return $('#searchForm').parent().height() - $('#dataGridPage').height() - 50; }, columnModel: [ {header:'${text("岗位名称")}', name:'postName', index:'a.post_name', width:200, align:"center"}, @@ -91,7 +91,7 @@ $('#dataGrid2').dataGrid({ searchForm: $("#searchForm2"), dataGridPage: $('#dataGrid2Page'), autoGridHeight: function(){ - return $('#searchForm2').parent().height() - $('#dataGrid2Page').height() - 45; + return $('#searchForm2').parent().height() - $('#dataGrid2Page').height() - 50; }, columnModel: [ {header:'${text("登录账号")}', name:'loginCode', index:'a.login_code', width:200, align:"center"}, diff --git a/web/src/main/resources/views/modules/demo/demoFormTabPage.html b/web/src/main/resources/views/modules/demo/demoFormTabPage.html index ee783727..34d48df6 100644 --- a/web/src/main/resources/views/modules/demo/demoFormTabPage.html +++ b/web/src/main/resources/views/modules/demo/demoFormTabPage.html @@ -39,7 +39,7 @@ var windowHeight = $(window).height(), headerHeight = $('.box-header').outerHeight() || 0, footerHeight = $('.box-footer').outerHeight() || 0, - height = windowHeight - headerHeight - footerHeight - 13; + height = windowHeight - headerHeight - footerHeight - 20; return height < 300 ? 300 : height; } }); @@ -59,7 +59,7 @@ var windowHeight = $(window).height(), headerHeight = $('.box-header').outerHeight() || 0, footerHeight = $('.box-footer').outerHeight() || 0, - height = windowHeight - headerHeight - footerHeight - 13; + height = windowHeight - headerHeight - footerHeight - 20; return height < 300 ? 300 : height; } });