Ver Fonte

no message

linwenxin há 5 meses atrás
pai
commit
e8d94c7740
1 ficheiros alterados com 4 adições e 0 exclusões
  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