Refactor #337
parent
d6d2b92dcb
commit
a726ee4cfc
|
@ -207,7 +207,7 @@ export default {
|
||||||
|
|
||||||
this.spin(event, dir);
|
this.spin(event, dir);
|
||||||
},
|
},
|
||||||
spin(event, dir, value) {
|
spin(event, dir) {
|
||||||
let step = this.step * dir;
|
let step = this.step * dir;
|
||||||
let currentValue = this.parseValue(this.$refs.input.$el.value) || 0;
|
let currentValue = this.parseValue(this.$refs.input.$el.value) || 0;
|
||||||
let newValue = this.validateValue(currentValue + step);
|
let newValue = this.validateValue(currentValue + step);
|
||||||
|
|
Loading…
Reference in New Issue