瀏覽代碼

静态页面

xcx 4 年之前
父節點
當前提交
eaef6ef247
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      src/pages/ResetPassword/index.vue

+ 4
- 4
src/pages/ResetPassword/index.vue 查看文件

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