Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 417 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 417 Bytes

RouteReuseStrategy

用于暂存当前路由状态,在下次回到此路由时无需重新初始化组件

install

Run npm install to install the node_modules.

start

Run ng build to build the project. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

RouteReuseStrategy ( CLASS ) API (https://angular.io/api/router/RouteReuseStrategy).