Commit 32936fd7 authored by gaochao's avatar gaochao

a

parent d3f7312c
...@@ -28,7 +28,18 @@ ...@@ -28,7 +28,18 @@
created() { created() {
$(function() { $(function() {
$('#calendar').fullCalendar({ $('#calendar').fullCalendar({
defaultView: 'month' // weekends: false
header: {
left: 'title',
center: '',
right: 'today prev,next'
},
views: {
month: { titleFormat: 'YYYY, MM, DD' }
}
})
$('#my-prev-button').click(function() {
$('#calendar').fullCalendar('prev')
}) })
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment