mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
fix keydown event not bubble
This commit is contained in:
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
Block a user