当前位置:网站首页>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
边栏推荐
- Reflection on a case of bus card being stolen and swiped
- [C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
- Principles of websocket + probuf
- 不懂数据库索引的底层原理?那是因为你心里没点b树
- 洞察——风格注意力网络(SANet)在任意风格迁移中的应用
- Code Review最佳实践
- 在pandas中使用pipe()提升代码可读性
- Analysis of kubernetes service types: from concept to practice
- 「混合云」会是云计算的下一个战场吗?
- 模型预测准确率高达94%!利用机器学习完美解决2000亿美元库存难题
猜你喜欢
DOM节点操作
Awk implements SQL like join operation
ajax 载入html后不能执行其中的js解决方法
Tips for Mac novices
技术总监7年自述——如何选择一家好公司
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
Kubernetes服务类型浅析:从概念到实践
Do not understand the underlying principle of database index? That's because you don't have a B tree in your heart
Big data algorithm - bloon filter
一文详解微服务架构
随机推荐
On hiz buffer
Awk implements SQL like join operation
Don't treat exceptions as business logic, which you can't afford
From technology to management, the technology of system optimization is applied to enterprise management
C language I blog assignment 03
一万四千字分布式事务原理解析,全部掌握你还怕面试被问?
工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?
chrome浏览器跨域Cookie的SameSite问题导致访问iframe内嵌页面异常
After pulling four message queues into a group, they quarreled
Bgfx compilation tutorial
Win10官方1909版本无法打开windows安全中心中病毒和威胁防护的实时保护解决方案。
深入web workers (上)
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?
汇编函数mcall systemstack asmcgocall syscall
There's not much time left for Kwai Chung.
Exploration and practice of growingio responsive programming
Deep into web workers (1)
低代码 vs 模型驱动,它们之间到底是什么关系?
全网最硬核讲解计算机启动流程