|
@@ -1124,11 +1124,13 @@
|
|
this.infoCheckMap.phone = '该手机号已报名'
|
|
this.infoCheckMap.phone = '该手机号已报名'
|
|
this.haveSamePhone = true
|
|
this.haveSamePhone = true
|
|
} else {
|
|
} else {
|
|
- this.infoCheckMap.phone = ''
|
|
|
|
- this.infoOtherCheckMap.forEach(v => {
|
|
|
|
- v.phone = ''
|
|
|
|
- });
|
|
|
|
- this.haveSamePhone = false
|
|
|
|
|
|
+ if(!this.infoCheckMap.phone) {
|
|
|
|
+ this.infoCheckMap.phone = ''
|
|
|
|
+ this.infoOtherCheckMap.forEach(v => {
|
|
|
|
+ v.phone = ''
|
|
|
|
+ });
|
|
|
|
+ this.haveSamePhone = false
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
break
|
|
break
|
|
@@ -1191,11 +1193,13 @@
|
|
this.infoOtherCheckMap[sameIndex - 1].phone = '该手机号已报名'
|
|
this.infoOtherCheckMap[sameIndex - 1].phone = '该手机号已报名'
|
|
this.haveSamePhone = true
|
|
this.haveSamePhone = true
|
|
} else {
|
|
} else {
|
|
- this.infoCheckMap.phone = ''
|
|
|
|
- this.infoOtherCheckMap.forEach(v => {
|
|
|
|
- v.phone = ''
|
|
|
|
- });
|
|
|
|
- this.haveSamePhone = false
|
|
|
|
|
|
+ if(!this.infoOtherCheckMap[index].phone) {
|
|
|
|
+ this.infoCheckMap.phone = ''
|
|
|
|
+ this.infoOtherCheckMap.forEach(v => {
|
|
|
|
+ v.phone = ''
|
|
|
|
+ });
|
|
|
|
+ this.haveSamePhone = false
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
break
|
|
break
|