fix(me): 在非微信小程序环境添加登录后重定向参数
This commit is contained in:
@@ -39,7 +39,9 @@ async function handleLogin() {
|
||||
await tokenStore.wxLogin()
|
||||
// #endif
|
||||
// #ifndef MP-WEIXIN
|
||||
uni.navigateTo({ url: LOGIN_PAGE })
|
||||
uni.navigateTo({
|
||||
url: `${LOGIN_PAGE}?redirect=${encodeURIComponent('/pages/me/me')}`,
|
||||
})
|
||||
// #endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user