Fixed type error on Calendar

pull/12/head
mertsincan 2019-05-03 11:54:23 +03:00
parent 40064aafa6
commit de3fc250ce
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ export default {
panelStyle: null, panelStyle: null,
locale: { locale: {
type: Object, type: Object,
default: { default: () => ({
firstDayOfWeek: 0, firstDayOfWeek: 0,
dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@ -97,7 +97,7 @@ export default {
today: 'Today', today: 'Today',
clear: 'Clear', clear: 'Clear',
dateFormat: 'mm/dd/yy' dateFormat: 'mm/dd/yy'
} })
} }
}, },
computed: { computed: {