图片必填注释

This commit is contained in:
liuye
2022-11-30 08:49:32 +08:00
parent 3858ebdf60
commit 07dd52299b

View File

@@ -224,7 +224,7 @@
<div class="info mar-b16" style="padding-bottom: 24px;"> <div class="info mar-b16" style="padding-bottom: 24px;">
<div class="item"> <div class="item">
<div class="label"> <div class="label">
<span class="tips">*</span>图片 <span class="tips"></span>图片
</div> </div>
</div> </div>
<div style="padding-right: 16px;"> <div style="padding-right: 16px;">
@@ -369,9 +369,9 @@ export default {
if(this.form.controllerUserPhone && !/^1[0-9]{10,10}$/.test(this.form.controllerUserPhone)) { if(this.form.controllerUserPhone && !/^1[0-9]{10,10}$/.test(this.form.controllerUserPhone)) {
return this.$u.toast("请输入正确的手机号码"); return this.$u.toast("请输入正确的手机号码");
} }
if( !this.form.fileList.length) { // if( !this.form.fileList.length) {
return this.$u.toast('请上传图片') // return this.$u.toast('请上传图片')
} // }
// if(status == 2 && !this.form.proveFileList.length) { // if(status == 2 && !this.form.proveFileList.length) {
// return this.$u.toast('请上传核酸阴性证明图片') // return this.$u.toast('请上传核酸阴性证明图片')
// } // }