fix: merge bug

This commit is contained in:
katherinehhh 2025-01-24 16:01:52 +08:00
parent 955c167f5e
commit daefd83114

View File

@ -94,7 +94,7 @@ const MobileDateTimePicker = connect(
/>
</div>
<DatePicker
{...others}
{...rest}
cancelText={t('Cancel')}
confirmText={t('Confirm')}
visible={visible}
@ -104,8 +104,8 @@ const MobileDateTimePicker = connect(
}}
precision={showTime && picker === 'date' ? getPrecision(timeFormat) : picker === 'date' ? 'day' : picker}
renderLabel={labelRenderer}
min={others.min || new Date(1000, 0, 1)}
max={others.max || new Date(9999, 11, 31)}
min={rest.min || new Date(1000, 0, 1)}
max={rest.max || new Date(9999, 11, 31)}
onConfirm={(val) => {
handleConfirm(val);
}}