修正prompt弹窗对area参数无效的问题

pull/47/head
zhaojinghao 2017-03-09 12:51:19 +08:00 committed by GitHub
parent 3d5408b4d3
commit 828adf7f0b
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ layer.prompt = function(options, yes){
if(typeof options === 'function') yes = options;
var area = 'auto';
var area = 'auto';
if(options.area){
area = options.area;
style = 'style="width: '+ area[0] +'; height: '+ area[1] + ';"';