Skip to content

Commit

Permalink
chore: Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Oct 3, 2023
1 parent ecb4ca7 commit ed470c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion demo/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<img :src="url">

<form @submit.prevent="(e) => handleChange(e.target?.file.files)">
<input type="file" name="file" />
<input
type="file"
name="file"
>
<button>Change</button>
</form>
</div>
Expand Down
10 changes: 8 additions & 2 deletions playground/app.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<template>
<img :src="url" width="300">
<img
:src="url"
width="300"
>

<form @submit.prevent="(e) => handleChange(e.target?.file.files)">
<input type="file" name="file" />
<input
type="file"
name="file"
>
<button>Change</button>
</form>
</template>
Expand Down

0 comments on commit ed470c1

Please sign in to comment.