From 334930fa2048dfc656cef266706c0758f7b315e7 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 28 Jun 2020 17:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81openOptions=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 48312655..a1a8c346 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -810,7 +810,7 @@ var table = { } } } - layer.open($.extend({ + var index = layer.open($.extend({ type: 2, maxmin: true, shade: 0.3, @@ -826,6 +826,9 @@ var table = { return true; } }, btnCallback)); + if ($.common.isNotEmpty(options.full) && options.full === true) { + layer.full(index); + } }, // 弹出层全屏 openFull: function (title, url, width, height) {