mirror of https://github.com/ElemeFE/element
add support for change by keyboard event (#648)
parent
722530fab9
commit
63ca1eb07a
|
@ -7,6 +7,8 @@
|
|||
>
|
||||
<el-input
|
||||
v-model.number="currentValue"
|
||||
@keydown.up.native="increase"
|
||||
@keydown.down.native="decrease"
|
||||
:disabled="disabled"
|
||||
:size="size"
|
||||
:class="{
|
||||
|
|
Loading…
Reference in New Issue