2
0
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:
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) 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')