Fixed eslint issue on Spinner

pull/12/head
mertsincan 2019-05-03 13:00:20 +03:00
parent 4b38376555
commit 41d8be4bbb
1 changed files with 4 additions and 2 deletions

View File

@ -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);