mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-23 00:30:35 +03:00
Update default to me a function
This commit is contained in:
@@ -43,7 +43,7 @@ export default {
|
|||||||
show: Boolean,
|
show: Boolean,
|
||||||
disabledDays: {
|
disabledDays: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: []
|
default: function () { return [] }
|
||||||
},
|
},
|
||||||
showYearNav: {
|
showYearNav: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export default {
|
|||||||
value: null,
|
value: null,
|
||||||
disabledDays: {
|
disabledDays: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: []
|
default: function () { return [] }
|
||||||
},
|
},
|
||||||
showYearNav: {
|
showYearNav: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
Reference in New Issue
Block a user