Skip to content
New issue

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

navigation guard error #14

Closed
kisstest opened this issue Mar 18, 2020 · 0 comments
Closed

navigation guard error #14

kisstest opened this issue Mar 18, 2020 · 0 comments
Labels
bug Something isn't working
Projects
Milestone

Comments

@kisstest
Copy link
Collaborator

kisstest commented Mar 18, 2020

  • router가드 내부에서 리다이렉트 시킬 때 에러발생
    • 2.2.0 버전이후로 선택적으로 router.push 또는 router.replace에 두번째와 세번째 전달인자로 onComplete와 onAbort 콜백을 제공합니다. 이 콜백은 탐색이 성공적으로 완료되거나(모든 비동기 훅이 해결된 후) 또는 중단(현재 탐색이 완료되기 전에 동일한 경로로 이동하거나 다른 경로 이동)될 때 호출 됩니다.
this.$router.push({ name: 'profile' });
this.$router.push({ name: 'profile' }, () => {});
  • 어떤 이벤트(로그인이 필요하다는 메시지) 발생 후 특정페이지로 리다이렉트 시킬 필요
@kisstest kisstest added the bug Something isn't working label Mar 18, 2020
@kisstest kisstest added this to the v0.1 milestone Mar 18, 2020
@kisstest kisstest added this to To do in front-end via automation Mar 18, 2020
kisstest added a commit that referenced this issue Mar 18, 2020
@kisstest kisstest moved this from To do to Done in front-end Mar 22, 2020
@kisstest kisstest moved this from Done to To do in front-end Mar 22, 2020
front-end automation moved this from To do to Done Mar 22, 2020
kisstest added a commit that referenced this issue Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
front-end
  
Done
Development

No branches or pull requests

1 participant