easyui from 缓存问题处理
2016-05-11 15:33
465 查看
1
这是ie低版本,缓存了easyui form load事件获取的服务器端数据,给ajax时间加上清除缓存就ok。
找到easyui 中的form load事件 添加cache:false,
/*兼容ie********cache*/
$.ajax({url:data,data:_3d0,cache:false,dataType:"json",success:function(data){
_3d1(data);
},error:function(){
opts.onLoadError.apply(_3cf,arguments);
}});
/*兼容ie*/
这是ie低版本,缓存了easyui form load事件获取的服务器端数据,给ajax时间加上清除缓存就ok。
找到easyui 中的form load事件 添加cache:false,
/*兼容ie********cache*/
$.ajax({url:data,data:_3d0,cache:false,dataType:"json",success:function(data){
_3d1(data);
},error:function(){
opts.onLoadError.apply(_3cf,arguments);
}});
/*兼容ie*/
相关文章推荐
- UIAlertController 使用
- Android关于buildToolVersion与CompileSdkVersion的区别
- 62. Unique Paths
- dequeueReusableCellWithIdentifier 总是返回nil
- iOS UIDevice设备信息,传感器设置,横竖屏判断操作,手机电池操作
- 自定义UICollectionViewLayout实现瀑布流
- OGG由于GGS处理SEQUENCE方式导致Ext延时_NOAUTOMATICSEQUENCEFLUSH处理
- IOS开发-UIView之动画效果的实现方法(合集)
- Executors.newFixedThreadPool和ArrayBlockingQueue一点使用心得
- iOS开发之基础视图——UILabel
- UITextField 控制文本输入小数点和小数点后几位
- django1.8 提示(1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your defau
- iOS开发 贝塞尔曲线UIBezierPath(后记)
- 学习笔记-UITableView的数据源(dataSource)和代理(delegate)
- iOS开发 贝塞尔曲线UIBezierPath
- Android开发之蓝牙(Bluetooth)操作(一)--扫描已经配对的蓝牙设备
- easyUI中tab中的html片段导包与父页面的包冲突
- 【FLUENT案例】06:与EDEM耦合计算
- 【代码】key-value模式下的哈希二次探测与简单的哈希类的实现
- UE4 性能优化方法(工具篇)