javascript
yw605
这个作者很懒,什么都没留下…
展开
-
解决js文件被浏览器缓存问题
1、加版本号<script type="text/javascript" src="/js/common.js?v=1" ></script> 2、加发布时间<script type="text/javascript" src="/js/common.js?t=20180428" ></script> 3、开发过程中,可以使用时间戳或者随机数 ...转载 2019-06-16 16:03:01 · 886 阅读 · 0 评论 -
extjs4 navmenu 通过json生成的nav导航条菜单
效果图 组件代码: /** * 该扩展可以通过解析一定规则的json生成导航菜单 * @version 1.1 2019-07-05 增加了菜单cls定义,按钮cls定义 * @author YinWang */ Ext.define('Eip.ux.NavMenu', { extend: 'Ext.Toolbar', height: 30, /** ...原创 2019-07-05 09:16:17 · 393 阅读 · 0 评论 -
关于Extjs4.2 出现ext-all.js:21 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated
关于 Extjs4.2动态加载ux在Chrome浏览器中出现 ext-all.js:21 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, c...原创 2019-06-29 21:49:15 · 623 阅读 · 0 评论