From aeda2637f681122c822323e050b6dbb875e6b99c Mon Sep 17 00:00:00 2001 From: selicens <1244620067@qq.com> Date: Tue, 4 Jun 2024 16:10:46 +0800 Subject: [PATCH] fix(Input): Chinese input is invalid when the modifier is lazy (#7543) --- components/_util/BaseInput.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/_util/BaseInput.tsx b/components/_util/BaseInput.tsx index b01256715..4650d80e6 100644 --- a/components/_util/BaseInput.tsx +++ b/components/_util/BaseInput.tsx @@ -68,6 +68,7 @@ const BaseInput = defineComponent({ const event = document.createEvent('HTMLEvents'); event.initEvent('input', true, true); e.target.dispatchEvent(event); + handleChange(e); }; const handleInput = (e: Event) => { if (isComposing.value && props.lazy) {