mirror of https://github.com/ElemeFE/element
* Select: Fix default-first-option behavior when typing Chinese (#15431) * Select: Fix missing param transmit * Select: callback style modifypull/16215/head
parent
37c0a9fb61
commit
43a44adc76
|
@ -445,7 +445,7 @@
|
||||||
const text = event.target.value;
|
const text = event.target.value;
|
||||||
if (event.type === 'compositionend') {
|
if (event.type === 'compositionend') {
|
||||||
this.isOnComposition = false;
|
this.isOnComposition = false;
|
||||||
this.handleQueryChange(text);
|
this.$nextTick(_ => this.handleQueryChange(text));
|
||||||
} else {
|
} else {
|
||||||
const lastCharacter = text[text.length - 1] || '';
|
const lastCharacter = text[text.length - 1] || '';
|
||||||
this.isOnComposition = !isKorean(lastCharacter);
|
this.isOnComposition = !isKorean(lastCharacter);
|
||||||
|
|
Loading…
Reference in New Issue