Skip to content

Commit

Permalink
fix(TimeRangePicker): disabledTime does not work (#5387) close #5383
Browse files Browse the repository at this point in the history
  • Loading branch information
wengjq authored Mar 23, 2022
1 parent e81abe3 commit d137971
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/vc-picker/panels/TimePanel/TimeBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ const TimeBody = defineComponent({
disabledConfig.disabledMinutes,
disabledConfig.disabledSeconds,
];
} else {
[mergedDisabledHours.value, mergedDisabledMinutes.value, mergedDisabledSeconds.value] = [
props.disabledHours,
props.disabledMinutes,
props.disabledSeconds,
];
}

[mergedDisabledHours.value, mergedDisabledMinutes.value, mergedDisabledSeconds.value] = [
props.disabledHours,
props.disabledMinutes,
props.disabledSeconds,
];
});
const setTime = (
isNewPM: boolean | undefined,
Expand Down

0 comments on commit d137971

Please sign in to comment.