登录成功演示跳转

This commit is contained in:
冯辉
2025-11-18 11:14:48 +08:00
parent 33474fae1b
commit 75ea9732fe

View File

@@ -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: '登录失败',