mirror of https://github.com/ElemeFE/element
fix keydown event not bubble
parent
f19cc4c7ab
commit
04a611353b
|
@ -17,7 +17,7 @@
|
|||
@blur="handleBlur"
|
||||
@keydown.up.native.prevent="highlight(highlightedIndex - 1)"
|
||||
@keydown.down.native.prevent="highlight(highlightedIndex + 1)"
|
||||
@keydown.enter.stop.native="handleKeyEnter"
|
||||
@keydown.enter.native.prevent="handleKeyEnter"
|
||||
>
|
||||
<template slot="prepend" v-if="$slots.prepend">
|
||||
<slot name="prepend"></slot>
|
||||
|
|
Loading…
Reference in New Issue