JS打开一个网页窗体,关闭对话框后第二次点击没有反应也不弹出对话框,是哪里有问题,然后重新刷新页面,也是只能用一次,第二次就没反应,求助 //模板路径 var url = encodeURI('http://localhost:80/#/templateManagement/editform?mouldcode='+pickids); //窗体 var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>"); //将窗体的src属性设置为模板路径 $iframe.attr("src", url); //窗体的属性 var o = { title: "核准", //标题 //destroyOnClose:true, // 是否在关闭对话框的时候将对话框从dom中移除 width: 800, //宽度 height: 600, //高度 }; //弹出窗体 FR.showDialog(o.title, o.width, o.height, $iframe, o); |