We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consumerで、パラメータを含む動的ルートからリダイレクトしてログインした場合、想定通りの遷移をしません。 直接の原因は、ナビゲーションガードでリダイレクト用のnameを取得する際に、paramsが取得できていないためと思われます。
name
router.push({ name: getRedirectFrom.value });
const redirectFromPath: string = to.name?.toString() ?? ''; routingStore.setRedirectFrom(redirectFromPath); return { name: 'authentication/login' };
The text was updated successfully, but these errors were encountered:
adminはfullPathを使用しているので動くようだが、 router.push時は名前付きルートを使うほうがよいはずなので、 paramsも(おそらくqueryも)routingStoreに保持する方向で修正したほうがよいかもしれない。
router.push({ path: getRedirectFrom.value });
const redirectFromPath: string = to.fullPath;
Sorry, something went wrong.
No branches or pull requests
概要
consumerで、パラメータを含む動的ルートからリダイレクトしてログインした場合、想定通りの遷移をしません。
直接の原因は、ナビゲーションガードでリダイレクト用の
name
を取得する際に、paramsが取得できていないためと思われます。詳細
再現方法
完了条件
The text was updated successfully, but these errors were encountered: