我在使用 extjs 构建网络应用程序时遇到问题。 我有这个代码: The Code
好的,我得到的错误是: 未捕获的类型错误:无法调用未定义的方法“getProxy” 这是堆栈跟踪:
Uncaught TypeError: Cannot call method 'getProxy' of undefined
Ext.define.constructorext-all-debug.js:44348
Base.callParentext-all-debug.js:2891
Ext.define.constructorext-all-debug.js:44877
Ext.Class.newClassext-all-debug.js:3188
(anonymous function)
Ext.ClassManager.instantiateext-all-debug.js:3948
Ext.ClassManager.instantiateByAliasext-all-debug.js:3898
(anonymous function)ext-all-debug.js:1555
Ext.define.statics.createext-all-debug.js:44241
Ext.define.lookupext-all-debug.js:26969
Ext.define.bindStoreext-all-debug.js:70975
Ext.define.initComponentext-all-debug.js:70756
Ext.define.constructorext-all-debug.js:15614
Base.callParentext-all-debug.js:2891
Ext.define.constructorext-all-debug.js:27103
Ext.Class.newClassext-all-debug.js:3188
(anonymous function)
Ext.ClassManager.instantiateext-all-debug.js:3948
(anonymous function)ext-all-debug.js:1555
(anonymous function)PageList.js:35
最佳答案
storge 是一个函数,需要执行返回一个store。
试试 store: storge(),
关于javascript - 获取错误 Uncaught TypeError : Cannot call method 'getProxy' of undefined?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9344861/