diff --git a/package/component/package.json b/package/component/package.json index 3d8da92a..b4a8ad4b 100644 --- a/package/component/package.json +++ b/package/component/package.json @@ -41,7 +41,7 @@ "@umijs/ssr-darkreader": "^4.9.45", "dayjs": "^1.11.0", "evtd": "^0.2.3", - "vue-i18n": "^9.2.2", + "vue-i18n": "^9.1.10", "@ctrl/tinycolor": "^3.4.1" }, "files": [ diff --git a/package/component/src/component/datePicker/components/DatePanel.vue b/package/component/src/component/datePicker/components/DatePanel.vue index b6948419..52000095 100644 --- a/package/component/src/component/datePicker/components/DatePanel.vue +++ b/package/component/src/component/datePicker/components/DatePanel.vue @@ -14,10 +14,11 @@ >
{{ datePicker.currentYear.value }} {{ t('datePicker.year') }}{{ datePicker.currentYear.value }} {{ t("datePicker.year") }} {{ datePicker.currentMonth.value + 1 }} {{ t('datePicker.month') }}{{ datePicker.currentMonth.value + 1 }} + {{ t("datePicker.month") }}
{{ t('datePicker.selectTime')}}{{ t("datePicker.selectTime") }} diff --git a/package/component/src/component/datePicker/components/DateRange.vue b/package/component/src/component/datePicker/components/DateRange.vue index 04775130..3d9c2382 100644 --- a/package/component/src/component/datePicker/components/DateRange.vue +++ b/package/component/src/component/datePicker/components/DateRange.vue @@ -19,7 +19,7 @@
{{ startTime.year || "--" }} {{ t('datePicker.year') }}{{ startTime.year || "--" }} {{ t("datePicker.year") }}