当前位置:网站首页>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
边栏推荐
- Exploration and practice of growingio responsive programming
- 留给快手的时间不多了
- 在pandas中使用pipe()提升代码可读性
- Exception calling 'downloadstring' with '1' arguments: 'operation timed out'
- How did I lose control of the team?
- DOM节点操作
- What is the relationship between low code vs model driven?
- Using thread communication to solve the problem of cache penetrating database avalanche
- 聊一聊数据库中的锁
- 某618大促项目的复盘总结
猜你喜欢
深入web workers (上)
Let you have a deep understanding of gitlab CI / CD principle and process
PHP安全:变量的前世今生
Andque.
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
Principles of websocket + probuf
【原创】ARM平台内存和cache对xenomai实时性的影响
The JS solution cannot be executed after Ajax loads HTML
Three steps, one pit, five steps and one thunder, how to lead the technical team under the rapid growth?
不懂数据库索引的底层原理?那是因为你心里没点b树
随机推荐
How did I lose control of the team?
graph generation model
CPU瞒着内存竟干出这种事
统计文本中字母的频次(不区分大小写)
使用 Xunit.DependencyInjection 改造测试项目
AFO
屏读时代,我们患上了注意力缺失候群症
Git code submission operation, and git push prompt failed to push some refs'xxx '
模型预测准确率高达94%!利用机器学习完美解决2000亿美元库存难题
Awk implements SQL like join operation
The JS solution cannot be executed after Ajax loads HTML
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
What should be considered in the promotion plan outside the station?
一万四千字分布式事务原理解析,全部掌握你还怕面试被问?
There's not much time left for Kwai Chung.
是时候结束 BERTology了
Using LWA and lync to simulate external test edge free single front end environment
The official 1909 version of win10 cannot open the real-time protection solution of virus and threat protection in windows security center.
栈-括号的匹配
Reflection on a case of bus card being stolen and swiped