From d5063589de36d022af179a93760e88068adf1f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Thu, 30 Apr 2026 15:22:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=A1=B5=E9=9D=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/register/index.vue | 5 ++++- .../src/views/shuJuTianBao/shengPiJiLu/index.vue | 6 +++--- frontend/src/views/system/review/index.vue | 14 ++++++++------ 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/frontend/src/views/register/index.vue b/frontend/src/views/register/index.vue index 3a2ec80..851e123 100644 --- a/frontend/src/views/register/index.vue +++ b/frontend/src/views/register/index.vue @@ -446,7 +446,10 @@ const handleSendSms = async () => { } try { - await sendSmsCode(registerData.phone, 1); // type=1 表示注册 + const res:any = await sendSmsCode(registerData.phone, 1); // type=1 表示注册 + if (res.code == 1) { + return; + } message.success("验证码已发送"); // 启动60秒倒计时 diff --git a/frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue b/frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue index a9d3ec3..e5a7112 100644 --- a/frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue +++ b/frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue @@ -3,7 +3,7 @@ - +