fix keydown event not bubble

This commit is contained in:
baiyaaaaa 2017-05-31 00:17:35 +08:00 committed by 杨奕
parent f19cc4c7ab
commit 04a611353b

View File

@ -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>