使用最开始的news 组件和newsheader 组件。 子组件引入Output 和EventEmitter. import { Component, OnInit ,Input,Output,EventEmitter} from '@angular/core'; ...
確定! 回上一頁