摘要: 凡是Cannot call method '' of undefined 这类错误大部分都可以参照下面的办法来解决在st中有时候你会发现使用Ext.Ajax.request会出现一下错误:Cannot call method 'request' of undefined出现以上错误的原因是Ext.Ajax这个组件没有被注册解决方案:1.一般来说你只要在控制层或者app.js注册引用了model、store,st就会自动注册主键代码如下: 1 /* 2 *列表控制 3 */ 4 Ext.define('app.controller.List', { 阅读全文
posted @ 2013-11-09 10:43 魔狼再世 阅读(1155) 评论(0) 推荐(0)