Support gif background upload #19

Open
sevichecc wants to merge 1 commit from sevichecc/admin-fe:develop into develop

View file

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