diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index d48aa4a8..92572229 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -12,9 +12,9 @@ const routes: Routes = [ // http://www.deathghost.cn/article/angular/88 @NgModule({ - // imports: [RouterModule.forRoot(routes, {preloadingStrategy: QuicklinkStrategy})], + // imports: [RouterModule.forRoot(routes, {preloadingStrategy: HoverPreloadStrategy})], imports: [RouterModule.forRoot(routes, { - preloadingStrategy: HoverPreloadStrategy, + preloadingStrategy: QuicklinkStrategy, scrollPositionRestoration: 'enabled', initialNavigation: 'enabledBlocking' })],