使用upload Img
```vue
企业认证
<el-form
class="form"
:rules="rules"
ref="ruleForm"
:model="ruleForm"
hide-required-asterisk
>
<div class="myPurse-form">
<el-form-item class="myPurse-formGroup" label="企业名称" prop="enterpriseName">
<div class="myPurse-formGroup-inputContainer">
<el-input
type="text"
v-model="ruleForm.enterpriseName"
placeholder="请输入企业名称"
class="myPurse-formGroup-inputContainer__input"
/>
</div>
</el-form-item>
<el-form-item
class="myPurse-formGroup myPurse-formGroup--wrap"
label="统一社会信用代码或注册号"
prop="certificateNumber"
>
<el-input
type="text"
class="myPurse-formGroup-inputContainer__input"
placeholder="请输入统一社会信用代码或注册号"
v-model="ruleForm.certificateNumber"
/>
</el-form-item>
<el-form-item
class="myPurse-formGroup"
label="营业执照副本"
prop="img1"
>
<upload-img
:value.sync="ruleForm.img1"
:src="uploadImg1.src"
:alt="uploadImg1.alt"
@change="clearValidate('img1')"
></upload-img>
</el-form-item>
<el-form-item label=" " class="myPurse-formGroup">
<div class="warn-list">
注:<br />
1. 必须为清晰、完整的彩色原件扫描件或数码照;<br />
2. 仅支持jpg .bmp .png .gif的图片格式,建议图片大小不超过3M;<br />
3. 您提供的信息将会严格保护,不会用作其他用途。<br />
</div>
</el-form-item>
<el-form-item class="myPurse-formGroup myPurse-btnLists flex-1" label="">
<m-button-list align="right">
<m-button
theme="lightGray"
size="smaller"
:border="2"
@click="cancel"
>取消</m-button
>
<m-button theme="skyblue" size="smaller" :border="2" @click="submit"
>提交</m-button
>
</m-button-list>
</el-form-item>
</div>
</el-form>