Skip to content

Commit

Permalink
更换策略
Browse files Browse the repository at this point in the history
  • Loading branch information
huajian123 committed Aug 6, 2021
1 parent 24edcbe commit 1bb4052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})],
Expand Down

0 comments on commit 1bb4052

Please sign in to comment.