This commit is contained in:
Taric Xin
2022-02-23 15:12:42 +08:00
parent 6ff6a7d2bb
commit 7cbc7b1b2e
4 changed files with 22 additions and 12 deletions

View File

@ -75,8 +75,6 @@ export class DynamicSettingModalComponent implements OnInit {
this.configList = this.formatItems(this.selectedTab.items);
const hiddenType = this.configList.find((item: any) => item.itemType === 7 || item.itemType === 999);
this.labelWidth = hiddenType ? 0 : 200;
console.log(this.configList);
}
});
}
@ -103,7 +101,7 @@ export class DynamicSettingModalComponent implements OnInit {
this.service.request('/api/mdc/pbc/sysConfigItemExtend/saveBatch', p).subscribe(res => {
if (res) {
this.service.msgSrv.success('修改配置成功');
this.modalHelp.destroy();
this.modalHelp.destroy(true);
}
});
}