polish: input-number

rm no use code and fix typo
This commit is contained in:
dailyvuejs 2018-09-09 22:11:31 +08:00 committed by GitHub
parent f356c49298
commit 01a6bcd212
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;