diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 6890bcf48..c65b6519f 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -534,7 +534,7 @@ export default { clearTimeout(this.searchTimeout); } - const char = String.fromCharCode(event.keyCode); + const char = event.key; this.previousSearchChar = this.currentSearchChar; this.currentSearchChar = char;