2012-02-18 78 views
1

我有建设使用extjs的web应用程序的问题。 我有这样的代码: The Code获取错误Uncaught TypeError:无法调用未定义的方法'getProxy'?

确定我得到的错误是这样的: 遗漏的类型错误:无法调用未定义 这个堆栈跟踪方法“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 
+0

错字? store:storge, – 2012-02-19 07:56:01

+0

固定我只是重新加载文件不知道为什么发生,但它的工作:) – 2012-02-20 09:34:09

回答

2

STORGE是一个函数,它需要执行以返回商店。 尝试store: storge(),

0

在你snippet,如果删除1号线,17和18的整体,然后换行34:

store : store,

你的代码将正常工作。

相关问题