我想在重新加载表格之前吐出this.messageDialogService.show('Success',true),敬酒一条消息。
.subscribe(
// reload table
() => this.realoadTable() ,
// handle error
() => this.messageDialogService.show('Failed', true)
);
答案 0 :(得分:1)
这是您要找的吗?
.subscribe(
// reload table
() => {
this.realoadTable();
this.messageDialogService.show('Success', true);
},
// handle error
() => this.messageDialogService.show('Failed', true)
);