From f3d5a3440c41b04efbc94e53b98bd94c792bea3d Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:46:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor(login):=20=E8=B0=83=E6=95=B4=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=E9=AA=8C=E8=AF=81=E7=A0=81=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 启用验证码发送功能 - 注释掉模拟数据发送代码 -优化代码结构,提高可读性 --- app/pages/login/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue index 1a26a3b..42556c0 100644 --- a/app/pages/login/index.vue +++ b/app/pages/login/index.vue @@ -85,7 +85,7 @@ watch(locale, () => { }) const vanSwipeRef=ref(null) const getCode =async () => { -/* loadingRef.value.loading1=true + loadingRef.value.loading1=true const res=await senCode({ telNum:phoneNum.value, zone:selectedZone.value @@ -97,11 +97,11 @@ const getCode =async () => { showKeyboard.value=true startCountdown(); - }*/ - pane.value = 1 + } +/* pane.value = 1 vanSwipeRef.value?.swipeTo(pane.value) showKeyboard.value=true - startCountdown(); + startCountdown();*/ } const goBack = () => {