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] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E5=8F=82?= =?UTF-8?q?=E6=95=B0-=E7=AA=97=E5=8F=A3=E5=A4=A7=E5=B0=8F,=E6=96=B9?= =?UTF-8?q?=E4=BE=BF=E7=BB=9F=E4=B8=80=E8=AE=BE=E7=BD=AE=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=88=96=E5=8D=95=E4=B8=AA=E6=A8=A1=E5=9D=97=E7=9A=84=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 722f2a504..e5ae383c9 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, -- Gitee