Fixed eslint issue on Spinner
parent
4b38376555
commit
41d8be4bbb
|
@ -124,16 +124,18 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
listeners() {
|
||||
let vm = this;
|
||||
|
||||
return {
|
||||
...this.$listeners,
|
||||
input: event => {
|
||||
this.$emit('input', event.target.value)
|
||||
},
|
||||
focus: () => {
|
||||
this.focused = true;
|
||||
vm.focused = true;
|
||||
},
|
||||
blur: event => {
|
||||
this.focused = false;
|
||||
vm.focused = false;
|
||||
|
||||
const parsedValue = this.parseValue(event.target.value);
|
||||
this.$emit('input', parsedValue);
|
||||
|
|
Loading…
Reference in New Issue