var toIndex;
var url;
//打开弹出层
function openAddLayer(){
toIndex=layer.open({
type:1,
content:$("#addOrUpdateDiv"),
area:['700px','650px'],
title:'添加',
success:function(){
$("#dataFrm")[0].reset();
url="";
}
});
//弹出层最大化
layer.full(toIndex);
}
layui layer.open弹层默认打开就是最大化
最新推荐文章于 2023-04-03 10:45:29 发布