TypeError: Cannot read property 'value' of undefined
正皇旗 2014-06-27 02:12:24 Ext.data.JsonP.request({
model: 'app.model.Sms',
scope:this,
autoLoad: true,
url : 'XXX.action',
params : {
id : smsInfo.ID.value
},
reader: {
type: 'json',
rootProperty: 'DET'
},
success: function(result) {
var pro = result.DET;
this.getSmsDetail().setValues(pro);
},
failure : function(result) {
Ext.Msg.alert("操作失败", "装载数据失败!");
}
});
params 哪一行的value报的错,之前写的也没错 ,怎么到这就错了呢