解决合并代码后的报错问题

This commit is contained in:
2026-03-19 09:56:41 +08:00
parent 6955e73317
commit 14b506036c
4 changed files with 182 additions and 22 deletions

View File

@@ -22,7 +22,7 @@
if (session.user != null) {
console.log('已有有效会话,恢复登录状态')
setIsLoggedIn(true)
uni.reLaunch({ url: '/pages/mall/consumer/index' })
uni.reLaunch({ url: '/pages/mall/admin/homePage/index' })
return
}
@@ -34,7 +34,7 @@
if (profile != null) {
console.log('会话恢复成功')
setIsLoggedIn(true)
uni.reLaunch({ url: '/pages/mall/consumer/index' })
uni.reLaunch({ url: '/pages/mall/admin/homePage/index' })
}
}).catch(() => {
console.log('会话恢复失败,需要重新登录')