摘要: 希望在父组件中点击列表item,根据item不同参数启动不同的子组件component 并传入不同的参数。 现在实验出两种等价方式 设置子组件路由app-routing.module.ts const routes: Routes = [ {path: 'envelope', component: 阅读全文
posted @ 2021-09-16 09:29 永远的幻想 阅读(49) 评论(0) 推荐(0) 编辑