Compare commits

...

1 Commits

Author SHA1 Message Date
yalei
ec871819e4 rm useless router.replace (#27386) 2025-10-29 11:06:19 +08:00

View File

@@ -56,10 +56,10 @@ const SwrInitializer = ({
}
const redirectUrl = resolvePostLoginRedirect(searchParams)
if (redirectUrl)
if (redirectUrl) {
location.replace(redirectUrl)
else
router.replace(pathname)
return
}
setInit(true)
}