mode_edit codeAPI / @angular/routerPreloadAllModuleslinkclass 试验性的Provides a preloading strategy that preloads all modules as quickly as possible.class PreloadAllModules implements PreloadingStrategy { preload(route: Route, fn: () => Observable<any>): Observable<any> }说明linkRouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})方法linkpreload() linkmode_edit codepreload(route: Route, fn: () => Observable<any>): Observable<any>参数routeType: Route.fnType: () => Observable.返回值Observable<any>