优化
This commit is contained in:
parent
b6561ca9c8
commit
9d7b943a89
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user