mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: datepicker missing picker (#6243)
This commit is contained in:
parent
d62911b646
commit
dcd2279eeb
@ -197,7 +197,7 @@ DatePicker.RangePicker = function RangePicker(props: any) {
|
||||
{ label: t('Next 90 days'), value: rangesValue.next90Days },
|
||||
];
|
||||
|
||||
const targetPicker = value ? inferPickerType(value?.[0]) : picker;
|
||||
const targetPicker = value ? inferPickerType(value?.[0], picker) : picker;
|
||||
const targetDateFormat = getPickerFormat(targetPicker) || format;
|
||||
const newProps: any = {
|
||||
utc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user