From de3fc250ce7d065a13745336084ca1d29bfa6efc Mon Sep 17 00:00:00 2001 From: mertsincan Date: Fri, 3 May 2019 11:54:23 +0300 Subject: [PATCH] Fixed type error on Calendar --- src/components/calendar/Calendar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index fab4708e6..e5d4bcc7c 100644 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -87,7 +87,7 @@ export default { panelStyle: null, locale: { type: Object, - default: { + default: () => ({ firstDayOfWeek: 0, dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], @@ -97,7 +97,7 @@ export default { today: 'Today', clear: 'Clear', dateFormat: 'mm/dd/yy' - } + }) } }, computed: {