From 7170a5adff3d48ac589fbb2c67ac6c45684b4393 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期五, 22 四月 2022 14:49:41 +0800 Subject: [PATCH] 注册登录接口 --- src/views/login/components/loginForm.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/login/components/loginForm.vue b/src/views/login/components/loginForm.vue index 1681e3c..be923d7 100644 --- a/src/views/login/components/loginForm.vue +++ b/src/views/login/components/loginForm.vue @@ -107,7 +107,7 @@ import { tologin, getLoginUserData, - getVerifyCode, + makeVerifyCode, getMenuPermission, } from "@/api/login"; import { isPhone } from "@/scripts/validate"; @@ -239,7 +239,7 @@ this.codeDisabled = true; this.getValidStr(); this.timer = setInterval(this.getValidStr, 1000); - getVerifyCode({ phoneNum: this.phone.phoneNum }) + makeVerifyCode({ phoneNum: this.phone.phoneNum }) .then(() => { this.gotCode = true; }) -- Gitblit v1.8.0