diff --git a/web/src/components/table/comSearch/index.vue b/web/src/components/table/comSearch/index.vue index d2023477..519a75e0 100644 --- a/web/src/components/table/comSearch/index.vue +++ b/web/src/components/table/comSearch/index.vue @@ -15,9 +15,9 @@ v-model="baTable.comSearch.form[item.prop!]" :default-value="baTable.comSearch.form[item.prop! + '-default'] ? baTable.comSearch.form[item.prop! + '-default']:[new Date(), new Date()]" :type="item.comSearchRender == 'date' ? 'daterange' : 'datetimerange'" - range-separator="To" - start-placeholder="Start date" - end-placeholder="End date" + :range-separator="$t('to')" + :start-placeholder="$t('el.datepicker.startDate')" + :end-placeholder="$t('el.datepicker.endDate')" :value-format="item.comSearchRender == 'date' ? 'YYYY-MM-DD' : 'YYYY-MM-DD HH:mm:ss'" />