|
this.orderDataEvent = event;
var appendFlag = (event.offset == 0?false:true);//数据增加模式
var member = util.getSession();
this.memberId = member.id;
var params={
limit:event.source.limit,
offset:event.offset,
"status":this.statusParams,
"memberId":this.memberId
};
baas.sendRequest({
"url":"/orders",
"action":"list",
"params":params,
"async":false,
"success":function(ret){
event.source.loadData(ret,appendFlag);
}
});
加粗地方绑定数据时候就报Cannot read property 'apply' of undefined,
|
|