Commit e67a18e3cc743069133fabce1e86605960e0f8ee

Authored by Aresn
Committed by GitHub
2 parents 1c7ea279 01a6bcd2

Merge pull request #4474 from dailyvuejs/2.0

polish: input-number
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,9 +80,9 @@
80 type: Number, 80 type: Number,
81 default: 1 81 default: 1
82 }, 82 },
83 - activeChange:{  
84 - type:Boolean,  
85 - default:true 83 + activeChange: {
  84 + type: Boolean,
  85 + default: true
86 }, 86 },
87 value: { 87 value: {
88 type: Number, 88 type: Number,
@@ -314,7 +314,6 @@ @@ -314,7 +314,6 @@
314 }, 314 },
315 changeVal (val) { 315 changeVal (val) {
316 val = Number(val); 316 val = Number(val);
317 - //this.setValue(val);  
318 if (!isNaN(val)) { 317 if (!isNaN(val)) {
319 const step = this.step; 318 const step = this.step;
320 319