This commit is contained in:
Dai 2024-07-15 17:59:35 +08:00
parent b6561ca9c8
commit 9d7b943a89

View File

@ -185,16 +185,16 @@
selectMirror: true,
displayEventEnd: true, // 显示结束时间
select: function (arg) {
var title = prompt('Event Title:');
if (title) {
calendar.addEvent({
title: title,
start: arg.start,
end: arg.end,
allDay: arg.allDay
})
}
calendar.unselect()
// var title = prompt('Event Title:');
// if (title) {
// calendar.addEvent({
// title: title,
// start: arg.start,
// end: arg.end,
// allDay: arg.allDay
// })
// }
// calendar.unselect()
},
eventClick: function (arg) {
console.log('点击时间', arg)