mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-23 07:40:18 +00:00
refactor(lang):日期范围选择器适配多语言 !66
This commit is contained in:
parent
613db5af01
commit
95a3309df6
@ -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'"
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user