填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

RunGuardsAndResolvers

何时在路由上运行守卫(guard)和解析器(resolver)的策略。

A policy for when to run guards and resolvers on a route.

      
      type RunGuardsAndResolvers = 'pathParamsChange' | 'pathParamsOrQueryParamsChange' | 'paramsChange' | 'paramsOrQueryParamsChange' | 'always' | ((from: ActivatedRouteSnapshot, to: ActivatedRouteSnapshot) => boolean);
    

参见