填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫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);
    

參見