From 7bc2785b64797d714e4d8bd1da2229af1659c1bf Mon Sep 17 00:00:00 2001 From: mengxiong10 <15623530290@163.com> Date: Sun, 10 Feb 2019 14:10:13 +0800 Subject: [PATCH] fix: the display error of the year panel header (#245) --- src/calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calendar.vue b/src/calendar.vue index 67de690..f6988bf 100644 --- a/src/calendar.vue +++ b/src/calendar.vue @@ -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')