fix:修复bug

This commit is contained in:
2026-02-07 10:33:39 +08:00
parent bb5a6dd100
commit 7fd9c25ea8
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -118,11 +118,11 @@ const redirectToLogin = () => {
`${k}=${encodeURIComponent(current.options[k])}`).join('&') : '';
const redirect = encodeURIComponent(query ? `${route}?${query}` : route);
uni.reLaunch({
url: `/pages/login/index?redirect=${redirect}`
url: `/subPackages/user/login/index?redirect=${redirect}`
});
} catch (e) {
uni.reLaunch({
url: '/pages/login/index'
url: '/subPackages/user/login/index'
});
}
};