edit
This commit is contained in:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user