Commit 63ca1eb0 authored by baiyaaaaa's avatar baiyaaaaa Committed by FuryBean

add support for change by keyboard event (#648)

parent 722530fa
...@@ -7,6 +7,8 @@ ...@@ -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="{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment