fix(TimeRangePicker): disabledTime does not work (#5387) close #5383

feat-update-ts
wengjq 2022-03-23 21:27:31 +08:00 committed by GitHub
parent e81abe39ee
commit d137971e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -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,