Merge pull request #4474 from dailyvuejs/2.0

polish: input-number
This commit is contained in:
Aresn 2018-09-10 10:28:03 +08:00 committed by GitHub
commit e67a18e3cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,9 +80,9 @@
type: Number,
default: 1
},
activeChange:{
type:Boolean,
default:true
activeChange: {
type: Boolean,
default: true
},
value: {
type: Number,
@ -314,7 +314,6 @@
},
changeVal (val) {
val = Number(val);
//this.setValue(val);
if (!isNaN(val)) {
const step = this.step;