支持openOptions方法最大化

pull/176/head
RuoYi 2020-06-28 17:25:14 +08:00
parent e0e305c423
commit 9627ba9e1d
1 changed files with 4 additions and 1 deletions

View File

@ -810,7 +810,7 @@ var table = {
} }
} }
} }
layer.open($.extend({ var index = layer.open($.extend({
type: 2, type: 2,
maxmin: true, maxmin: true,
shade: 0.3, shade: 0.3,
@ -826,6 +826,9 @@ var table = {
return true; return true;
} }
}, btnCallback)); }, btnCallback));
if ($.common.isNotEmpty(options.full) && options.full === true) {
layer.full(index);
}
}, },
// 弹出层全屏 // 弹出层全屏
openFull: function (title, url, width, height) { openFull: function (title, url, width, height) {