From d1278694cf001bb4dd3dbae3129d8b933dad3674 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 14 Jun 2022 21:03:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/resources/templates/env/update.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/common/src/main/resources/templates/env/update.html b/common/src/main/resources/templates/env/update.html index d649fb6c..56bd6be4 100644 --- a/common/src/main/resources/templates/env/update.html +++ b/common/src/main/resources/templates/env/update.html @@ -22,7 +22,7 @@ -
+
@@ -62,6 +62,14 @@ }).use(['index', 'form', 'laydate', 'laytpl'], function(){ var $ = layui.$; var form = layui.form; + var $win = $(window); + var windowHeight = $(window).height(); + console.log(windowHeight) + + $('#cardBody').css({ + height: (windowHeight - 170) +'px' + }) + var envs; // 系统参数配置