,end:()=>{$("#dialog1").hide();}
layer.open({type:1,title:"修改数据",....,end:()=>{$("#dialog1").hide();} });