소스 검색

Merge branch 'dev/v4.8.81_tsz' of qmx/jy into feature/v4.8.81

汤世哲 1 년 전
부모
커밋
9ada67bcd6
1개의 변경된 파일14개의 추가작업 그리고 10개의 파일을 삭제
  1. 14 10
      src/web/templates/frontRouter/wx/bigmember/free/perfect_info_market.html

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

@@ -1124,11 +1124,13 @@
                   this.infoCheckMap.phone = '该手机号已报名'
                   this.haveSamePhone = true
                 } 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
@@ -1191,11 +1193,13 @@
                   this.infoOtherCheckMap[sameIndex - 1].phone = '该手机号已报名'
                   this.haveSamePhone = true
                 } 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