在父组件中注入子组件
@ViewChild(BaUploadComponent) private baUpload: BaUploadComponent;
在子组件中注入父组件
@Inject(forwardRef(() => DetailsComponent)) private _parent: DetailsComponent;