diff --git a/packages/components/time-picker/src/common/picker.vue b/packages/components/time-picker/src/common/picker.vue index 47fb435a77..be55c69bd9 100644 --- a/packages/components/time-picker/src/common/picker.vue +++ b/packages/components/time-picker/src/common/picker.vue @@ -576,6 +576,8 @@ const isValidValue = (value: DayOrDays) => { } const handleKeydownInput = async (event: KeyboardEvent) => { + if (props.readonly || pickerDisabled.value) return + const { code } = event emitKeydown(event) if (code === EVENT_CODE.esc) {