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