Pārlūkot izejas kodu

验证码对比删除

zouling 9 mēneši atpakaļ
vecāks
revīzija
7cdfd8b710
2 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 2 2
      manifest.json
  2. 4 4
      pages/mine/pwd/forgetpwd.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "潜山市智慧政协平台",
     "appid" : "__UNI__FF95F38",
     "description" : "",
-    "versionName" : "1.1.8",
-    "versionCode" : 118,
+    "versionName" : "1.1.9",
+    "versionCode" : 119,
     "transformPx" : false,
     "app-plus" : {
         "usingComponents" : true,

+ 4 - 4
pages/mine/pwd/forgetpwd.vue

@@ -81,10 +81,10 @@
 			that.$toast("请输入验证码")
 			return
 		}
-		if(this.code!=this.newcode){
-			that.$toast("验证码错误,请重新输入")
-			return
-		}
+		// if(this.code!=this.newcode){
+		// 	that.$toast("验证码错误,请重新输入")
+		// 	return
+		// }
 		let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
 		if (this.phonenumber && !regphone.test(this.phonenumber)) {
 			that.$toast("请输入正确的手机号")