This commit is contained in:
Taric Xin
2022-04-26 21:21:46 +08:00
parent eda2549643
commit 4a725465ae
4 changed files with 170 additions and 341 deletions

View File

@ -70,12 +70,10 @@ export class ApiAuthModalComponent implements OnInit {
Object.assign(params, { enterpriseId: 0, enterpriseProjectId: 0 });
}
this.loadingInfo = true;
this.service.request(this.params.updateUrl, params).subscribe(
res => {
if (res) {
this.service.msgSrv.success('编辑成功');
this.modal.close(true);
}
this.service.request(this.params.updateUrl, params).subscribe(res => {
if (res) {
this.service.msgSrv.success('编辑成功');
this.modal.close(true);}
this.loadingInfo = false;
},
_ => (this.loadingInfo = false),