Commit 01a6bcd212620f68051a78680dd808e8c756866d
Committed by
GitHub
1 parent
f356c492
polish: input-number
rm no use code and fix typo
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
src/components/input-number/input-number.vue
... | ... | @@ -80,9 +80,9 @@ |
80 | 80 | type: Number, |
81 | 81 | default: 1 |
82 | 82 | }, |
83 | - activeChange:{ | |
84 | - type:Boolean, | |
85 | - default:true | |
83 | + activeChange: { | |
84 | + type: Boolean, | |
85 | + default: true | |
86 | 86 | }, |
87 | 87 | value: { |
88 | 88 | type: Number, |
... | ... | @@ -314,7 +314,6 @@ |
314 | 314 | }, |
315 | 315 | changeVal (val) { |
316 | 316 | val = Number(val); |
317 | - //this.setValue(val); | |
318 | 317 | if (!isNaN(val)) { |
319 | 318 | const step = this.step; |
320 | 319 | ... | ... |