mirror of https://github.com/layui/layer
修正prompt弹窗对area参数无效的问题
parent
3d5408b4d3
commit
828adf7f0b
|
@ -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] + ';"';
|
||||
|
|
Loading…
Reference in New Issue