fix: 修正登录跳转逻辑和关于页面路径

将登录后的跳转从redirectTo改为navigateBack
修正关于页面跳转登录时的路径错误
This commit is contained in:
feige996
2025-09-29 20:17:40 +08:00
parent aaecf30371
commit ef0fc53f2d
2 changed files with 6 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ function gotoLogin() {
return
}
uni.navigateTo({
url: `${LOGIN_PAGE}?redirect=${encodeURIComponent('/pages/about/about?a=1&b=2')}`,
url: `${LOGIN_PAGE}?redirect=${encodeURIComponent('/pages-sub/about/about?a=1&b=2')}`,
})
}
function logout() {