调整窗口显示比例
This commit is contained in:
parent
2739703619
commit
85320950a1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user