支持openOptions方法最大化

master
RuoYi 4 years ago committed by Limy
parent 1f1dee675f
commit 334930fa20

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

Loading…
Cancel
Save