diff --git a/components/vc-picker/RangePicker.tsx b/components/vc-picker/RangePicker.tsx index 4f8b11cc0..eba715fde 100644 --- a/components/vc-picker/RangePicker.tsx +++ b/components/vc-picker/RangePicker.tsx @@ -315,7 +315,7 @@ function RangerPicker() { // Fill disabled unit for (let i = 0; i < 2; i += 1) { - if (mergedDisabled[i] && !getValue(postValues, i) && !getValue(props.allowEmpty, i)) { + if (mergedDisabled.value[i] && !getValue(postValues, i) && !getValue(props.allowEmpty, i)) { postValues = updateValues(postValues, props.generateConfig.getNow(), i); } }