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) {