只有注册用户登录后才能阅读该文。 阅读全文
摘要:
/*** model工厂类*/Ext.define("factory.ModelFactory",{ statics:{ //数据类模型的集合 models:new Ext.util.MixedCollection(), //字段集合 fields:new Ext.util.MixedCollection(), getModelByName:function(modelName,excludes){ //不需要的字段 var nofields = {}; if(excludes){ nofields = {"excludes":excludes}; } 阅读全文