Support gif wallpaper upload
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
SevicheCC 2023-08-13 14:02:39 +08:00
parent 0802dc5777
commit ca959e6deb
Signed by untrusted user: sevichecc
GPG key ID: C577000000000000

View file

@ -7,7 +7,7 @@
:aria-label="$t('settings.changeImage')"
class="input-file"
type="file"
accept=".jpg,.jpeg,.png"
accept=".jpg,.jpeg,.png,.gif"
@change="handleFiles" >
<div class="caption">
{{ $t('settings.changeImage') }}
@ -28,7 +28,7 @@
:aria-label="$t('settings.changeImage')"
class="input-file"
type="file"
accept=".jpg,.jpeg,.png"
accept=".jpg,.jpeg,.png,.gif"
@change="handleFiles">
</el-button>
<el-button v-if="!isDefault" type="danger" size="small" style="margin-left: 5px;" @click="removeFile()">