From 75ea9732fec9b27dfe8f2fcf892e8e8e5a7fbf6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E8=BE=89?= <13935151924@163.com> Date: Tue, 18 Nov 2025 11:14:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=88=90=E5=8A=9F=E6=BC=94?= =?UTF-8?q?=E7=A4=BA=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/id-card-login.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/login/id-card-login.vue b/pages/login/id-card-login.vue index 3222e2f..8525908 100644 --- a/pages/login/id-card-login.vue +++ b/pages/login/id-card-login.vue @@ -70,11 +70,13 @@ const handleIdCardLogin = async (idCard) => { title: '登录成功', icon: 'success' }) + setTimeout(() => { + // 跳转到首页 + uni.reLaunch({ + url: '/pages/index/index' + }) + }, 1500) - // 跳转到首页 - uni.reLaunch({ - url: '/pages/index/index' - }) } else { uni.showToast({ title: '登录失败',