angular组件

angular创建组件命令:

ng g c child

组件通讯:1.父组件给子组件传值  2.子组件给父组件传值

 

posted @ 2022-03-26 23:25  Kobe_bk  阅读(25)  评论(0编辑  收藏  举报