Extjs4常见错误集合

来源:互联网 发布:零式战斗机知乎 编辑:程序博客网 时间:2024/06/03 21:04

1、Uncaught TypeError: Cannot read property ‘dom’ of null
原因:如果代码段没有放入Ext.onReady中


2、Uncaught
 TypeError: Cannot call method 'hasOwnProperty' of undefined
参考这篇文章:Extjs4---Uncaught
 TypeError: Cannot call method 'hasOwnProperty' of undefined


3、Cannot
 read property 'addCls' of null
参考文章:Extjs4---Cannot
 read property 'addCls' of null


4、Uncaught
 TypeError: Cannot call method 'substring' of undefined
参考文章:Extjs4---Uncaught
 TypeError: Cannot call method 'substring' of undefined


转载自:http://www.th7.cn/web/js/201210/8691.shtml

原创粉丝点击