支持扩展名:.png .jpg .bmp .gif
<el-upload
action="#"
:before-upload="beforeUpload"
:before-remove="beforeRemove"
:http-request="uploadFile"
:on-preview="preview"
:file-list.sync="fileList"
>
<el-button
size="small"
type="primary"
class="icon-Angle-upload"
style="display: inline;"
>
上传文件
</el-button>
<div slot="tip" class="q-upload__tip" style="display: inline;">
支持扩展名:.png .jpg .bmp .gif
<