Browse Source

openOptions函数中加入自定义maxmin属性

RuoYi 4 years ago
parent
commit
868aed4079
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js

+ 1 - 1
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js

@@ -812,7 +812,7 @@ var table = {
         		}
         		var index = layer.open($.extend({
         			type: 2,
-        			maxmin: true,
+        			maxmin: $.common.isEmpty(options.maxmin) ? true : options.maxmin,
         			shade: 0.3,
         			title: _title,
         			fix: false,