Commit a2f27a80ca94e038ae95bc2b3ef2c64d16153ff1

Authored by Lawrence Lee
1 parent 119eeafe

fix #1084

src/components/input-number/input-number.vue
... ... @@ -25,7 +25,7 @@
25 25 @keydown.stop="keyDown"
26 26 @change="change"
27 27 :name="name"
28   - :value="value">
  28 + :value="currentValue">
29 29 </div>
30 30 </div>
31 31 </template>
... ...
src/components/input/input.vue
... ... @@ -39,7 +39,7 @@
39 39 :maxlength="maxlength"
40 40 :readonly="readonly"
41 41 :name="name"
42   - :value="value"
  42 + :value="currentValue"
43 43 :autofocus="autofocus"
44 44 @keyup.enter="handleEnter"
45 45 @keyup="handleKeyup"
... ...