Support gif background upload #19
1 changed files with 2 additions and 2 deletions
|
@ -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()">
|
||||||
|
|
Loading…
Reference in a new issue