答案 0 :(得分:2)
尝试一下。您可能需要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"
},
],