Merge pull request #2448 from xujiongbo/dev

InputNumber: prevent cursor from moving to head when pressing up on c…
pull/2472/head
baiyaaaaa 2017-01-17 16:52:15 +08:00 committed by GitHub
commit 9c6e8e1c6b
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@
</span>
<el-input
:value="currentValue"
@keydown.up.native="increase"
@keydown.down.native="decrease"
@keydown.up.native.prevent="increase"
@keydown.down.native.prevent="decrease"
@blur="handleBlur"
@input="handleInput"
:disabled="disabled"