feat: 发送验证码接口提示处理
+
This commit is contained in:
@ -252,8 +252,10 @@ const handleVerificationSubmit = async () => {
|
|||||||
startCountdown();
|
startCountdown();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await fetchLoginCaptCha({ mobile: loginForm.mobile });
|
const { code, message } = await fetchLoginCaptCha({ mobile: loginForm.mobile });
|
||||||
AMessage.success('验证码发送成功');
|
if (code === 200) {
|
||||||
|
AMessage.success(message);
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// 重置倒计时
|
// 重置倒计时
|
||||||
countdown.value = 0;
|
countdown.value = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user