2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-05 08:02:26 +03:00

Update default to me a function

This commit is contained in:
Aaron J. Rubin
2017-06-12 14:10:51 -04:00
parent fe36d75c13
commit 42e7853018
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ export default {
show: Boolean,
disabledDays: {
type: Array,
default: []
default: function () { return [] }
},
showYearNav: {
type: Boolean,
+1 -1
View File
@@ -60,7 +60,7 @@ export default {
value: null,
disabledDays: {
type: Array,
default: []
default: function () { return [] }
},
showYearNav: {
type: Boolean,