diff --git a/packages/components/time-picker/src/common/picker.vue b/packages/components/time-picker/src/common/picker.vue index e006bec58c..78671277d7 100644 --- a/packages/components/time-picker/src/common/picker.vue +++ b/packages/components/time-picker/src/common/picker.vue @@ -518,6 +518,7 @@ const onMouseLeave = () => { showClose.value = false } const onTouchStartInput = (event: TouchEvent) => { + if (props.readonly || pickerDisabled.value) return if ( (event.touches[0].target as HTMLElement)?.tagName !== 'INPUT' || refInput.value.includes(document.activeElement as HTMLInputElement)