在我的组件中,我有
this.uploadService.onUpload({
some: data
})
在我的uploadService
,我有
onUpload($event: SubmissionFileUpload) {
this.userDetails$ = this.homeService.getUserDetails();
this.userDetails$.subscribe(
res => {
this.userDetails = res;
});
this.store.dispatch(new UploadActions.UploadPresignAction(this.userDetails.jwt, $event));
}
当调度的动作完成时如何通知我的组件?