当前位置:网站首页>easyui dialog“缓存问题”
easyui dialog“缓存问题”
2020-11-07 20:56:00 【西门呀在吹雪】
</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:临时解决办法是这样,原因是因为啥子呢?别的项目中也没有加这句话就没有这个问题。
本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。
版权声明
本文为[西门呀在吹雪]所创,转载请带上原文链接,感谢
https://cloud.tencent.com/developer/article/1744583
边栏推荐
- 构造请求日志分析系统
- Business Facade 与 Business Rule
- Awk implements SQL like join operation
- The official 1909 version of win10 cannot open the real-time protection solution of virus and threat protection in windows security center.
- GrowingIO 响应式编程探索和实践
- 快速上手Git
- 三步一坑五步一雷,高速成长下的技术团队怎么带?
- 微服务的出现和意义的探索
- 阿里terway源码分析
- AC86U kx上网
猜你喜欢
Annual salary of 900000 programmers is not as good as 3800 civil servants a month? How to choose between stability and high income?
工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?
The CPU does this without the memory
高级并发编程系列九(Lock接口分析)
DOM node operation
Web API series (3) unified exception handling
Ac86u KX Online
京淘项目day09
Deep into web workers (1)
某618大促项目的复盘总结
随机推荐
It's time to end bertology
Git代码提交操作,以及git push提示failed to push some refs'XXX'
[random talk] the goal and way of software design
Huawei HCIA notes
Business Facade 与 Business Rule
What should be considered in the promotion plan outside the station?
我们为什么需要软件工程——从一个简单的项目进行观察
graph generation model
聊聊Go代码覆盖率技术与最佳实践
Mac新手必备小技巧
盘点那些争议最大的编程观点,你是什么看法呢?
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
PHP安全:变量的前世今生
浅谈HiZ-buffer
你可能不知道的Animation动画技巧与细节
Using thread communication to solve the problem of cache penetrating database avalanche
DOM节点操作
awk实现类sql的join操作
深入web workers (上)
Share several vs Code plug-ins I use everyday