fix(Input): Chinese input is invalid when the modifier is lazy (#7543)

pull/7632/head
selicens 2024-06-04 16:10:46 +08:00 committed by GitHub
parent f42d8ad1ce
commit aeda2637f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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) {