Browse Source

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

pull/7632/head
selicens 6 months ago committed by GitHub
parent
commit
aeda2637f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      components/_util/BaseInput.tsx

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

Loading…
Cancel
Save