You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. router.beforeEach 的回调里没有提供 next 参数或者根据返回值 true 或 false 决定子应用是否跳转。我的场景是代理子应用的某些路由跳转到主应用的地址,因为没法阻断子应用跳转会导致主应用跳转前子应用跳转页面会闪一下。
Describe the solution you'd like
在 router.beforeEach 回调的参数里增加 next 函数或者增加根据返回值 boolean 来决定是否跳转的逻辑。
Describe alternatives you've considered
我目前的做法是直接 location.href 跳转并同步阻塞住子应用跳转。
Is your feature request related to a problem? Please describe.
router.beforeEach
的回调里没有提供 next 参数或者根据返回值 true 或 false 决定子应用是否跳转。我的场景是代理子应用的某些路由跳转到主应用的地址,因为没法阻断子应用跳转会导致主应用跳转前子应用跳转页面会闪一下。Describe the solution you'd like
在
router.beforeEach
回调的参数里增加 next 函数或者增加根据返回值 boolean 来决定是否跳转的逻辑。Describe alternatives you've considered
我目前的做法是直接
location.href
跳转并同步阻塞住子应用跳转。Additional context
我期望的做法:
我目前的做法:
The text was updated successfully, but these errors were encountered: