试试这个。你可能需要一个background events。
events: [
{
"title":"Lorem Ipsum",
"start":"2019-04-16",
"end":"2019-04-16",
"rendering": "background",
"color":"red"
},
]
或者如果你想拥有两种渲染类型的事件,你可以这样做。
如果我理解你的问题,你可以
events:[
{
"title": "event 5",
"start": "2019-04-24T10:00:00",
"end": "2019-04-24T13:00:00",
},
{
"title": "event 2",
"start": "2019-04-24T14:00:00",
"end": "2019-04-24T15:00:00",
"backgroundColor": "red"
},
{
"start": "2019-04-24T12:00:00",
"end": "2019-04-24T16:00:00",
"rendering": "background"
},
],