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
|
<el-input
|
||||||
v-model.number="currentValue"
|
v-model.number="currentValue"
|
||||||
|
@keydown.up.native="increase"
|
||||||
|
@keydown.down.native="decrease"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:size="size"
|
:size="size"
|
||||||
:class="{
|
:class="{
|
||||||
|
|
Loading…
Reference in New Issue