mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-23 05:10:36 +03:00
fix: the display error of the year panel header (#245)
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ export default {
|
|||||||
return this.value && formatDate(this.value, this.dateFormat)
|
return this.value && formatDate(this.value, this.dateFormat)
|
||||||
},
|
},
|
||||||
yearHeader () {
|
yearHeader () {
|
||||||
return this.firstYear + ' ~ ' + (this.firstYear + 10)
|
return this.firstYear + ' ~ ' + (this.firstYear + 9)
|
||||||
},
|
},
|
||||||
months () {
|
months () {
|
||||||
return this.t('months')
|
return this.t('months')
|
||||||
|
|||||||
Reference in New Issue
Block a user