From 85320950a1d43e3eb390eb54a43707b3a914145f Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Mon, 16 Dec 2019 17:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AA=97=E5=8F=A3=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/dynamic/config/list.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cloud-common-plugin/src/main/resources/templates/dynamic/config/list.html b/cloud-common-plugin/src/main/resources/templates/dynamic/config/list.html index 2896a5a..6196d27 100644 --- a/cloud-common-plugin/src/main/resources/templates/dynamic/config/list.html +++ b/cloud-common-plugin/src/main/resources/templates/dynamic/config/list.html @@ -64,6 +64,8 @@ var table = layui.table; var admin = layui.admin; var laydate = layui.laydate; + var windowWidth = $(window).width(); + var windowHeight = $(window).height(); var resizeTimeout = null; // 初始化表格 @@ -234,8 +236,8 @@ top.dialog.open({ url: top.restAjax.path('route/dynamicconfigtable/dynamicconfigform/list/{tableName}', [data.tableName]), title: '表单列表【'+ data.tableName +'表】', - width: '1000px', - height: '500px' + width: (windowWidth * 0.9) +'px', + height: (windowHeight * 0.9) +'px' }); } else if(layEvent === 'saveDynamicTable') { top.dialog.confirm('确定建表吗?', function(index) {