fix(projects): fix login success notification. fixed #688

This commit is contained in:
Soybean
2024-12-26 11:07:19 +08:00
parent 56760245d4
commit 60dd22624b
2 changed files with 7 additions and 9 deletions

View File

@ -102,9 +102,9 @@ export function useRouterPush(inSetup = true) {
const redirect = route.value.query?.redirect as string;
if (needRedirect && redirect) {
routerPush(redirect);
await routerPush(redirect);
} else {
toHome();
await toHome();
}
}