日期:2014-05-16  浏览次数:20336 次

ExtJS4.1 app中添加controller报错怎么回事
在app.js中添加controller后firebug会提示requires.push is not a function,如何解决,求大侠帮忙!!!!

------解决方案--------------------
requires 是个什么 类型?

http://www.w3school.com.cn/js/jsref_push.asp
------解决方案--------------------
确保requires属性是数组,数组才有push方法。
不过貌似requires是数组。