摘要: 父组建 子组建 传递信息 首先先通过angular脚手架生成两个基本组件,有一个好处是 会自动关联到跟模版,节约时间,而且还是偷懒 ng generate component component name 这句话有简写的方式,可以自己去搜 demo如下 js //father.component.t 阅读全文
posted @ 2017-07-06 23:21 老年游侠 阅读(2066) 评论(0) 推荐(0)