单独打开封装好的python脚本的url,可以实现关闭功能,在帆软中设置了一个弹窗,再点关闭按钮不起作用,怎么解决呢 var iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='yes' framedorder='0'>"); // 对话框内 iframe 参数的命名,默认宽高占比是 100%,可向下滚动 iframe.attr("src", "http://173.14.12.34:5000"); // 给 iframe 添加 src 属性 var o = { width : 270,//对话框宽度 height: 92//对话框高度 }; FR.showDialog( "",o.width, o.height, iframe,o);//弹出对话框 |