摘要:
1. 使用继承(extend) 1 var model = Ext.define("Ext.data.reader.SomeModel", { 2 extend: 'Ext.data.Model', 3 fields: [ 4 {name: 'name'}, 5 {name: 'extra.gender'} 6 ], 7 get: function(field){ 8 if (field.indexOf('.') !== -1) { 9 var parts = field.split('.'.. 阅读全文