</pre><pre name="code" class="html">var _url="addCheckIndexa.action?eval.id=-1&temp="+$('#indexId').val();
$("#editCheckIndex").dialog({
title:"新增指标",
cache:false,
href:_url,
resizable: true,
height: 400,
width: 1100,
modal: true
});
$('#editCheckIndex').dialog('open');
easyUI dialog的href动态加载的时候,弹出的dialog老是显示上一次打开的dialog页面。解决办法在open后加上一句
</pre><pre name="code" class="html">$('#editCheckIndex').dialog('open').dialog('refresh', _url);
ps:临时解决办法是这样,原因是因为啥子呢?别的项目中也没有加这句话就没有这个问题。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有