fix: 修复重定向逻辑,确保在登录成功后正确打开链接

This commit is contained in:
2026-02-27 03:59:48 +08:00
parent 93ca7ee6f9
commit 75a03bb3b0

View File

@@ -17,7 +17,7 @@ export const redirectHome = () => {
if (redirect) {
setTimeout(() => {
const href = decodeURIComponent(redirect);
// window.open(href, '_self');
window.open(href, '_self');
console.log('重定向到:', href);
}, 2000);
return;