fix(components): [select & select-v2] select can't delete input val (#15607)

closed #15604
This commit is contained in:
wzc520pyfm
2024-01-22 13:04:03 +08:00
committed by GitHub
parent 3770645e5e
commit 0d3ece03c8
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@
@keydown.down.stop.prevent="onKeyboardNavigate('forward')"
@keydown.enter.stop.prevent="onKeyboardSelect"
@keydown.esc.stop.prevent="handleEsc"
@keydown.delete.stop.prevent="handleDel"
@keydown.delete.stop="handleDel"
@click.stop="toggleMenu"
/>
<span

View File

@@ -156,7 +156,7 @@
@keydown.up.stop.prevent="navigateOptions('prev')"
@keydown.esc.stop.prevent="handleEsc"
@keydown.enter.stop.prevent="selectOption"
@keydown.delete.stop.prevent="deletePrevTag"
@keydown.delete.stop="deletePrevTag"
@compositionstart="handleCompositionStart"
@compositionupdate="handleCompositionUpdate"
@compositionend="handleCompositionEnd"