Skip to content

Commit 1bb4052

Browse files
committed
更换策略
1 parent 24edcbe commit 1bb4052

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/app-routing.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const routes: Routes = [
1212

1313
// http://www.deathghost.cn/article/angular/88
1414
@NgModule({
15-
// imports: [RouterModule.forRoot(routes, {preloadingStrategy: QuicklinkStrategy})],
15+
// imports: [RouterModule.forRoot(routes, {preloadingStrategy: HoverPreloadStrategy})],
1616
imports: [RouterModule.forRoot(routes, {
17-
preloadingStrategy: HoverPreloadStrategy,
17+
preloadingStrategy: QuicklinkStrategy,
1818
scrollPositionRestoration: 'enabled',
1919
initialNavigation: 'enabledBlocking'
2020
})],

0 commit comments

Comments
 (0)