chore: bump vue@3.0.6 and fix Date prop type (#8215)
This commit is contained in:
@@ -38,15 +38,15 @@ export default createComponent({
|
||||
showMonthTitle: Boolean,
|
||||
firstDayOfWeek: Number,
|
||||
date: {
|
||||
type: Date as PropType<Date>,
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
minDate: {
|
||||
type: Date as PropType<Date>,
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
maxDate: {
|
||||
type: Date as PropType<Date>,
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -101,12 +101,12 @@ export default createComponent({
|
||||
default: true,
|
||||
},
|
||||
minDate: {
|
||||
type: Date as PropType<Date>,
|
||||
type: Date,
|
||||
validator: isDate,
|
||||
default: () => new Date(),
|
||||
},
|
||||
maxDate: {
|
||||
type: Date as PropType<Date>,
|
||||
type: Date,
|
||||
validator: isDate,
|
||||
default: () => {
|
||||
const now = new Date();
|
||||
|
||||
Reference in New Issue
Block a user