2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-07 09:02:27 +03:00

fix: the display error of the year panel header (#245)

This commit is contained in:
mengxiong10
2019-02-10 14:10:13 +08:00
parent 737f8b4451
commit 7bc2785b64
+1 -1
View File
@@ -178,7 +178,7 @@ export default {
return this.value && formatDate(this.value, this.dateFormat)
},
yearHeader () {
return this.firstYear + ' ~ ' + (this.firstYear + 10)
return this.firstYear + ' ~ ' + (this.firstYear + 9)
},
months () {
return this.t('months')