图片上传控件限制文件类型
This commit is contained in:
parent
fd39ea8b2f
commit
9127596f3f
@ -3,7 +3,8 @@
|
||||
<el-upload
|
||||
:data="dataObj"
|
||||
name="image-file"
|
||||
:multiple="true"
|
||||
accept="image/jpeg,image/gif,image/png"
|
||||
:multiple="false"
|
||||
:show-file-list="false"
|
||||
:on-success="handleImageSuccess"
|
||||
class="image-uploader"
|
||||
|
Loading…
x
Reference in New Issue
Block a user