问题遇到的现象和发生背景
events: function(start, end, timezone, callback){
$.ajax({
type : "POST",
url :后台地址,
dataType: "json",
data :JSON.stringify({
start:String(currentDateStart),
end:String(currentDateEnd),
}),
success : function(res) {
console.log(res);
var events = [];
$(res).find('tr').each(function() {
events.push({
title: $(this).attr('title'),
start: $(this).attr('start'),
});
});
callback(events);
},
error : function(e){
console.log(e.status);
}
});
},