fix(web-antdv-next): normalize date picker timestamp handling

Add DatePicker and RangePicker adapter wrappers for numeric timestamp values, route direct value-format="x" usages through the adapter, and keep ShortcutDateRangePicker values as Dayjs.
This commit is contained in:
XuZhiqiang
2026-06-18 14:21:12 +08:00
parent 2fc5575c30
commit f152217c3c
7 changed files with 94 additions and 14 deletions

View File

@@ -91,7 +91,6 @@ onMounted(() => {
<DateRangePicker
v-model:value="times"
:format="rangePickerProps.format"
:value-format="rangePickerProps.valueFormat"
:placeholder="rangePickerProps.placeholder"
:presets="rangePickerProps.presets"
class="!w-full !max-w-96"