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