From 246772ecc677b15cc9be2fbdd63d50f6216e099f Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期三, 20 四月 2022 16:18:24 +0800 Subject: [PATCH] 注册登录验证码 --- src/views/register/components/BaseInfo.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/register/components/BaseInfo.vue b/src/views/register/components/BaseInfo.vue index 9bb62f1..1a0fbad 100644 --- a/src/views/register/components/BaseInfo.vue +++ b/src/views/register/components/BaseInfo.vue @@ -82,7 +82,7 @@ import { validUser, validPassword, isPhone } from "@/scripts/validate"; // 姝e垯鏂囦欢 import { register, - getVerifyCode, + makeVerifyCode, // getAreas, // getDic, // entireUserInfo, @@ -204,7 +204,7 @@ this.codeDisabled = true; this.getValidStr(); this.timer = setInterval(this.getValidStr, 1000); - getVerifyCode({ phoneNum: this.user.phoneNum, type: 1 }) + makeVerifyCode({ phoneNum: this.user.phoneNum, type: 1 }) .then(() => { this.gotCode = true; }) -- Gitblit v1.8.0