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