add support for change by keyboard event (#648)

pull/653/head
baiyaaaaa 2016-10-26 11:22:13 +08:00 committed by FuryBean
parent 722530fab9
commit 63ca1eb07a
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@
>
<el-input
v-model.number="currentValue"
@keydown.up.native="increase"
@keydown.down.native="decrease"
:disabled="disabled"
:size="size"
:class="{