Fix linting.
This commit is contained in:
parent
dede7f7f2f
commit
ce896d393b
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ const settings = {
|
||||||
methods: {
|
methods: {
|
||||||
uploadAvatar ({target}) {
|
uploadAvatar ({target}) {
|
||||||
const file = target.files[0]
|
const file = target.files[0]
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
const reader = new FileReader()
|
const reader = new FileReader()
|
||||||
reader.onload = ({target}) => {
|
reader.onload = ({target}) => {
|
||||||
const img = target.result
|
const img = target.result
|
||||||
|
|
Loading…
Reference in a new issue