xcx 4 lat temu
rodzic
commit
eaef6ef247
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4
    4
      src/pages/ResetPassword/index.vue

+ 4
- 4
src/pages/ResetPassword/index.vue Wyświetl plik

89
         this.Toast('手机号格式错误')
89
         this.Toast('手机号格式错误')
90
         return false
90
         return false
91
       }
91
       }
92
-      if (!this.IsPhone(this.Code === '')) {
92
+      if (this.Code === '') {
93
         this.Toast('请输入验证码')
93
         this.Toast('请输入验证码')
94
         return false
94
         return false
95
       }
95
       }
96
-      if (!this.IsPhone(this.Password === '')) {
96
+      if (this.Password === '') {
97
         this.Toast('请输入新密码')
97
         this.Toast('请输入新密码')
98
         return false
98
         return false
99
       }
99
       }
100
-      if (!this.IsPhone(this.PasswordAgain === '')) {
100
+      if (this.PasswordAgain === '') {
101
         this.Toast('请确认新密码')
101
         this.Toast('请确认新密码')
102
         return false
102
         return false
103
       }
103
       }
104
-      if (!this.IsPhone(this.Password !== this.PasswordAgain)) {
104
+      if (this.Password !== this.PasswordAgain) {
105
         this.Toast('两次密码输入不一致')
105
         this.Toast('两次密码输入不一致')
106
         return false
106
         return false
107
       }
107
       }