Forráskód Böngészése

fix:手机号必填提示

Signed-off-by: tsz <2417024719@qq.com>
tsz 1 éve
szülő
commit
c5108e2f5c

+ 2 - 2
src/web/templates/frontRouter/wx/bigmember/free/perfect_info_market.html

@@ -1120,7 +1120,7 @@
                   phoneArr.push(v.phone)
                   phoneArr.push(v.phone)
                 })
                 })
                 const sameIndex = this.findDuplicateIndex(phoneArr)
                 const sameIndex = this.findDuplicateIndex(phoneArr)
-                if(sameIndex!== -1) {
+                if(sameIndex!== -1 && this.infoMap.phone) {
                   this.infoCheckMap.phone = '该手机号已报名'
                   this.infoCheckMap.phone = '该手机号已报名'
                   this.haveSamePhone = true
                   this.haveSamePhone = true
                 } else {
                 } else {
@@ -1189,7 +1189,7 @@
                   phoneArr.push(v.phone)
                   phoneArr.push(v.phone)
                 })
                 })
                 const sameIndex = this.findDuplicateIndex(phoneArr)
                 const sameIndex = this.findDuplicateIndex(phoneArr)
-                if(sameIndex!== -1) {
+                if(sameIndex!== -1 && infoMap.phone) {
                   this.infoOtherCheckMap[sameIndex - 1].phone = '该手机号已报名'
                   this.infoOtherCheckMap[sameIndex - 1].phone = '该手机号已报名'
                   this.haveSamePhone = true
                   this.haveSamePhone = true
                 } else {
                 } else {