From fe90785879647c00374069572749fa7238ffacba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CJevin=E2=80=9D?= Date: Wed, 3 Jan 2024 10:43:43 +0800 Subject: [PATCH] fix(calendar-view): week display error #1158 --- packages/vue/src/calendar-view/src/pc.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vue/src/calendar-view/src/pc.vue b/packages/vue/src/calendar-view/src/pc.vue index e47f6963f0..25c783d504 100644 --- a/packages/vue/src/calendar-view/src/pc.vue +++ b/packages/vue/src/calendar-view/src/pc.vue @@ -27,7 +27,7 @@
@@ -111,7 +111,7 @@ name="header" :slot-scope="{ date: date.value, - weekDay: t(`ui.calendarView.weekDays[${index}]`) + weekDay: t(`ui.calendarView.weekDays.${index}`) }" > @@ -123,7 +123,7 @@ > {{ - dateIsToday(date.value) ? t('ui.datepicker.today') : t(`ui.calendarView.weekDays[${index}]`) + dateIsToday(date.value) ? t('ui.datepicker.today') : t(`ui.calendarView.weekDays.${index}`) }}