mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 14:10:26 +00:00
Hide file upload when wallpaper already stored
This commit is contained in:
parent
ec97233680
commit
f5169b9708
1 changed files with 9 additions and 6 deletions
|
@ -5,12 +5,15 @@
|
|||
</div>
|
||||
|
||||
<div v-else>
|
||||
Upload wallpaper
|
||||
<input
|
||||
type="file"
|
||||
accept='image/*'
|
||||
@change="handleUpload"
|
||||
/>
|
||||
<div v-show="!wallpaperUrl">
|
||||
Upload wallpaper
|
||||
|
||||
<input
|
||||
type="file"
|
||||
accept='image/*'
|
||||
@change="handleUpload"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div v-if="wallpaperUrl">
|
||||
Current wallpaper
|
||||
|
|
Loading…
Reference in a new issue