Angular学习之旅-----父子组件传值

父组件给子组件传值 public msg = '这是父组件的msg' import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-father', templateUrl: './father.component.html', styleUrls: ['./father.componen
相关文章
相关标签/搜索