From 5ec2a9893af9f4a98fd6617616217df3b722c9bf Mon Sep 17 00:00:00 2001
From: CoolAbc <13836962@qq.com>
Date: Fri, 29 Mar 2019 06:29:12 +0800
Subject: [PATCH] 增加配置参数-窗口大小,方便统一设置全局或单个模块的大小.

---
 public/assets/js/fast.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/assets/js/fast.js b/public/assets/js/fast.js
index 722f2a5..e5ae383 100644
--- a/public/assets/js/fast.js
+++ b/public/assets/js/fast.js
@@ -117,7 +117,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang'], function ($, undefine
                 title = options && options.title ? options.title : (title ? title : "");
                 url = Fast.api.fixurl(url);
                 url = url + (url.indexOf("?") > -1 ? "&" : "?") + "dialog=1";
-                var area = [$(window).width() > 800 ? '800px' : '95%', $(window).height() > 600 ? '600px' : '95%'];
+                var area = Fast.config.openArea != undefined ? Fast.config.openArea : [$(window).width() > 800 ? '800px' : '95%', $(window).height() > 600 ? '600px' : '95%'];
                 options = $.extend({
                     type: 2,
                     title: title,
--
libgit2 0.24.0