소스 검색

no message

linwenxin 5 달 전
부모
커밋
e8d94c7740
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/packageMine/pages/phoneUpdate.vue

+ 4 - 0
src/packageMine/pages/phoneUpdate.vue

@@ -110,6 +110,10 @@ export default {
         this.$toast('请填写正确的手机号码')
         return false
       }
+      if (this.phone == this.mobile) {
+        this.$toast('不能和原号码一样')
+        return false
+      }
       if (!this.code) {
         this.$toast('请先填写验证码')
         return false