|
@@ -34,7 +34,7 @@ import interactionPlugin from '@fullcalendar/interaction';
|
|
import _ from 'lodash';
|
|
import _ from 'lodash';
|
|
export default {
|
|
export default {
|
|
props: {
|
|
props: {
|
|
- year: { type: String, default: `${new Date().getFullYear()}` }, //当前日历的年份
|
|
|
|
|
|
+ year: { type: null, default: `${new Date().getFullYear()}` }, //当前日历的年份
|
|
events: { type: Array, default: () => [] },
|
|
events: { type: Array, default: () => [] },
|
|
useDraft: { type: Boolean, default: true },
|
|
useDraft: { type: Boolean, default: true },
|
|
useEvent: { type: Boolean, default: true },
|
|
useEvent: { type: Boolean, default: true },
|