009b1bb5 by 杨炀

no message

1 parent 2e2f1498
......@@ -8,7 +8,7 @@
<el-row :gutter="30" class="mt30">
<el-col :lg="12" class="touxiang">
<el-form-item prop="picUrl" :label="language==0?'个人照片':'photo'" :required="form.labelArr.indexOf('0')>-1">
<el-form-item prop="picUrl" :label="language==0?'个人照片':'photo'">
<ImageUpload2
v-model="form.picUrl" :crop-height="280" :crop-width="200" class="threeFour" :limit="1"
:is-show-tip="false"
......@@ -304,10 +304,10 @@ function giveBirthDay() {
function submitForm() {
proxy.$refs['dialogRef'].validate((valid) => {
if (valid) {
if(!form.value.picUrl&&form.value.labelArr.indexOf('0')>-1){
ElMessage.warning(language.value == 0 ? '请上传个人照片' :'Please upload your photo')
return
}
// if(!form.value.picUrl&&form.value.labelArr.indexOf('0')>-1){
// ElMessage.warning(language.value == 0 ? '请上传个人照片' :'Please upload your photo')
// return
// }
// 验证身份证号
if (form.value.idcType == 0 && !(/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(form.value.idcCode))) {
ElMessage.warning('请输入正确的身份证号码')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!