diff --git a/packages/date-picker/src/panel/date.vue b/packages/date-picker/src/panel/date.vue index f263bfaf0..5bc830216 100644 --- a/packages/date-picker/src/panel/date.vue +++ b/packages/date-picker/src/panel/date.vue @@ -436,7 +436,10 @@ const yearTranslation = this.t('el.datepicker.year'); if (this.currentView === 'year') { const startYear = Math.floor(year / 10) * 10; - return startYear + ' ' + yearTranslation + '-' + (startYear + 9) + ' ' + yearTranslation; + if (yearTranslation) { + return startYear + ' ' + yearTranslation + ' - ' + (startYear + 9) + ' ' + yearTranslation; + } + return startYear + ' - ' + (startYear + 9); } return this.year + ' ' + yearTranslation; }