Browse Source

no message

linwenxin 9 tháng trước cách đây
mục cha
commit
e8d94c7740
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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