I don't want to use any params, queryparam or any service method. Is there any way to transfer a data object using routing in Angular 2?
我不想使用任何params,queryparam或任何服务方法。有没有办法在Angular 2中使用路由传输数据对象?
1 个解决方案
#1
-1
https://angularfirebase.com/lessons/sharing-data-between-angular-components-four-methods/ Please go through this link.It provides way for component interactions and data sharing between them.
https://angularfirebase.com/lessons/sharing-data-between-angular-components-four-methods/请浏览此链接。它为组件之间的组件交互和数据共享提供了方法。
#1
-1
https://angularfirebase.com/lessons/sharing-data-between-angular-components-four-methods/ Please go through this link.It provides way for component interactions and data sharing between them.
https://angularfirebase.com/lessons/sharing-data-between-angular-components-four-methods/请浏览此链接。它为组件之间的组件交互和数据共享提供了方法。