fix calendar title

This commit is contained in:
jxxghp
2023-07-01 07:17:23 +08:00
parent 5d96aa57b9
commit 80ea36e17d
+5 -1
View File
@@ -27,6 +27,11 @@ const calendarOptions = {
center: 'title', center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay' right: 'dayGridMonth,timeGridWeek,timeGridDay'
}, },
views: {
week: {
titleFormat: { day: 'numeric' }
}
},
events: [ events: [
{ title: 'Meeting', start: new Date() } { title: 'Meeting', start: new Date() }
], ],
@@ -300,5 +305,4 @@ const calendarOptions = {
.v-layout .v-card[data-v-85990893] { .v-layout .v-card[data-v-85990893] {
overflow: visible; overflow: visible;
} }
</style> </style>