gpt4 book ai didi

javascript - 获取错误 Uncaught TypeError : Cannot call method 'getProxy' of undefined?

转载 作者:行者123 更新时间:2023-11-30 18:32:10 26 4
gpt4 key购买 nike

我在使用 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com