限制头像上传图片格式
This commit is contained in:
parent
772aad308d
commit
21068b0b60
|
|
@ -26,7 +26,7 @@
|
|||
<br />
|
||||
<el-row>
|
||||
<el-col :lg="2" :sm="3" :xs="3">
|
||||
<el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload">
|
||||
<el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload" accept=".png,.jpg,.jpeg">
|
||||
<el-button size="small">
|
||||
选择
|
||||
<i class="el-icon-upload el-icon--right"></i>
|
||||
|
|
|
|||
Loading…
Reference in New Issue