fix keydown event not bubble

pull/3526/merge
baiyaaaaa 2017-05-31 00:17:35 +08:00 committed by 杨奕
parent f19cc4c7ab
commit 04a611353b
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
@blur="handleBlur" @blur="handleBlur"
@keydown.up.native.prevent="highlight(highlightedIndex - 1)" @keydown.up.native.prevent="highlight(highlightedIndex - 1)"
@keydown.down.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"> <template slot="prepend" v-if="$slots.prepend">
<slot name="prepend"></slot> <slot name="prepend"></slot>