场景
下拉选择某项目后报异常 “Uncaught TypeError: Cannot read property ‘hasPendingLoad’ of null”
源码
view.js
{
xtype: 'selectfield', label: '支持类型', bind: {store: '{types}', value: '{types}'},
multiSelect: true
}
viewmodel.js
data: {
types: null
},
stores: {
types: {
data: [...]
}
}