通过路由进行参数的传递(方法一)

1.生成路由项目

ng new router --routing

2.参数的传递

3.接受参数

4展示参数

原文地址:https://www.cnblogs.com/boonook/p/8683085.html