mirror of https://github.com/ElemeFE/element
parent
0de6b447e5
commit
17c94d7410
|
@ -115,7 +115,7 @@
|
||||||
handleComposition(event) {
|
handleComposition(event) {
|
||||||
if (event.type === 'compositionend') {
|
if (event.type === 'compositionend') {
|
||||||
this.isOnComposition = false;
|
this.isOnComposition = false;
|
||||||
this.handleChange(this.value);
|
this.handleChange(event.target.value);
|
||||||
} else {
|
} else {
|
||||||
this.isOnComposition = true;
|
this.isOnComposition = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue