登录成功演示跳转
This commit is contained in:
@@ -70,11 +70,13 @@ const handleIdCardLogin = async (idCard) => {
|
|||||||
title: '登录成功',
|
title: '登录成功',
|
||||||
icon: 'success'
|
icon: 'success'
|
||||||
})
|
})
|
||||||
|
setTimeout(() => {
|
||||||
|
// 跳转到首页
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
})
|
||||||
|
}, 1500)
|
||||||
|
|
||||||
// 跳转到首页
|
|
||||||
uni.reLaunch({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '登录失败',
|
title: '登录失败',
|
||||||
|
|||||||
Reference in New Issue
Block a user