标签:
//定义数组
var lst=new Array();
for(var i =0;i<3 ;i++){
lst[i] = {title: ‘会议‘,start: new Date(y, m, d, 10, 30),allDay: false}
}
静态 :events:[{title: ‘会议‘,start: new Date(y, m, d, 10, 30),allDay: false},{title: ‘会议‘,start: new Date(y, m, d, 10, 30),allDay: false}]
动态 :events: lst
定义数组获取 后台数据后 直接赋值给events
标签:
原文地址:http://www.cnblogs.com/piguo/p/5520260.html