fix: change value to modelvalue in isYearSelected
parent
d2f8719773
commit
9648d93f89
|
@ -746,7 +746,7 @@ export default {
|
||||||
|
|
||||||
return start === year || end === year || (start < year && end > year);
|
return start === year || end === year || (start < year && end > year);
|
||||||
} else {
|
} else {
|
||||||
return value.getFullYear() === year;
|
return this.modelValue.getFullYear() === year;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isDateEquals(value, dateMeta) {
|
isDateEquals(value, dateMeta) {
|
||||||
|
|
Loading…
Reference in New Issue