Browse Source

no message

linwenxin 5 months ago
parent
commit
e8d94c7740
1 changed files with 4 additions and 0 deletions
  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