标签:code ble secret max form false retf article 开启
layer.open({ type: 2, title: ‘添加文章‘, shadeClose: false,//点击阴影是否关闭 shade: 0.3,//阴影透明度,false为0,true为1 maxmin: true, //开启最大化最小化按钮 area: [‘1200px‘, ‘700px‘], content: ‘/System/Article/AddArticle‘ })
layer.open({ type: 1, title: ‘私人信息‘, shadeClose: false, shade: 0.3, maxmin: true, //开启最大化最小化按钮 area: [‘300px‘, ‘300px‘], content: $("#secretForm"), end:function(){ table.reload(‘secretData‘,{}) } })
//如果该页面被另一个页面弹出,在该页面关闭时 var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭
layer.msg(msg, { time: 1000 //2秒关闭(如果不配置,默认是3秒) }, function(){ //dosomething } );
table.reload(‘articleData‘,{})
或者
//父页面 location.reload(); //子页面 parent.location.reload();
标签:code ble secret max form false retf article 开启
原文地址:https://www.cnblogs.com/xiaonangua/p/9172182.html