mirror of https://github.com/ElemeFE/element
Autocomplete: fix a Chinese composition bug
parent
68edc75da1
commit
50777f6779
|
@ -107,7 +107,7 @@
|
|||
handleComposition(event) {
|
||||
if (event.type === 'compositionend') {
|
||||
this.isOnComposition = false;
|
||||
this.handleChange(event.data);
|
||||
this.handleChange(this.value);
|
||||
} else {
|
||||
this.isOnComposition = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue