阅读背景:

如何在解析函数中获取当前路由?

来源:互联网 

I have a service which checks whether the current user has access to the route. I would like that service to be called as part of the resolve, so that the view never loads if the user should not have access. However, within the resolve function the $state dependency does not yet contain the actual state of the router.I have a service which checks whether the curre




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: