【发布时间】:2016-08-12 07:18:47
【问题描述】:
在按钮处理函数中加载存储时,我得到了 Uncaught TypeError, 我的有什么问题吗 代码:
{
xtype: 'button',
text: 'Click me',
handler: function() {
var store = Ext.create('Ext.data.Store', {
autoLoad : true,
proxy: {
type: 'ajax',
url : 'MyUrl'
}
});
}
}
错误信息:
Uncaught TypeError: instance[configPropMap[name].names.get] is not a function
调试器截图:
【问题讨论】:
-
ext-all-rtl-debug.js出现错误,不知道叫什么名字
-
打破错误,查看调试器。
-
name是async,但instance没有getAsync功能
标签: extjs6-classic