From 010d9234ab44d3f75ae36977c816c161ad90995b Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Mon, 15 Jan 2024 15:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/findpass/findpass.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/findpass/findpass.vue b/pages/findpass/findpass.vue index 4d3bd8f..eeade4c 100644 --- a/pages/findpass/findpass.vue +++ b/pages/findpass/findpass.vue @@ -126,8 +126,7 @@ const app = this // 验证提交登录 if (!app.validteMobile(app.mobile) || !app.validtePass(app.vpass) || !app.validteRepass(app.repass) - || !app.chkpass() || !app.validteVerify( - app.chkcode)) { + || !app.chkpass() || !app.validteVerify(app.chkcode)) { return false } return true @@ -178,9 +177,11 @@ validteVerify(str) { if (Verify.isEmpty(str)) { this.$toast("请输入手机验证码") + return false } if (str.length != 6) { this.$toast("请输入6位数的验证码") + return false } return true },