优化
This commit is contained in:
parent
b6561ca9c8
commit
9d7b943a89
@ -185,16 +185,16 @@
|
|||||||
selectMirror: true,
|
selectMirror: true,
|
||||||
displayEventEnd: true, // 显示结束时间
|
displayEventEnd: true, // 显示结束时间
|
||||||
select: function (arg) {
|
select: function (arg) {
|
||||||
var title = prompt('Event Title:');
|
// var title = prompt('Event Title:');
|
||||||
if (title) {
|
// if (title) {
|
||||||
calendar.addEvent({
|
// calendar.addEvent({
|
||||||
title: title,
|
// title: title,
|
||||||
start: arg.start,
|
// start: arg.start,
|
||||||
end: arg.end,
|
// end: arg.end,
|
||||||
allDay: arg.allDay
|
// allDay: arg.allDay
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
calendar.unselect()
|
// calendar.unselect()
|
||||||
},
|
},
|
||||||
eventClick: function (arg) {
|
eventClick: function (arg) {
|
||||||
console.log('点击时间', arg)
|
console.log('点击时间', arg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user