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

router.back()返回时未触发导航守卫 #12

Open
c1emon opened this issue May 9, 2024 · 1 comment
Open

router.back()返回时未触发导航守卫 #12

c1emon opened this issue May 9, 2024 · 1 comment

Comments

@c1emon
Copy link

c1emon commented May 9, 2024

if (name === 'navigateBack') {
oldMethods[name](options)
} else {

不知道出于什么考虑返回不触发,希望可以支持返回触发守卫。

@SuHeran
Copy link

SuHeran commented Oct 16, 2024

如果不能实现返回触发路由守卫,那么这个插件就很鸡肋了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants