gpt4 book ai didi

javascript - 未捕获的类型错误 : Cannot read property 'schema' of null

转载 作者:行者123 更新时间:2023-11-28 06:50:36 25 4
gpt4 key购买 nike

访问存储 IS 到 itemselector 字段时出错,我没有使用模型,只是使用硬编码值进行测试。

未捕获的类型错误:无法读取 null 的属性“架构”VM398 ext-all-rtl-debug.js?_dc=1444203173414:51423

项目选择器:

items:[{
xtype: 'itemselector',
name: 'itemselector',
id: 'itemselector-field',
imagePath: '../ux/images/',
store: 'IS',
displayField: 'period',
valueField: 'period',
value:'period',
allowBlank: false,
msgTarget: 'side',
fromTitle: 'Available',
toTitle: 'Selected'
}]

商店:

Ext.define('Myapp.store.IS', {
extend: 'Ext.data.Store',

/* requires: [
'Myapp.model.JobNode',
'Ext.util.Sorter'
], */

alias: 'store.IS',
fields: ['period'],
data: {
'period': [
'20140525','20140625'
]
},
proxy: {
type: 'memory',
reader: {
type: 'json',
root: 'reader'
}
}
});

最佳答案

use Ext.create('Myapp.store.IS')

关于javascript - 未捕获的类型错误 : Cannot read property 'schema' of null,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32986518/

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