This commit is contained in:
Taric Xin
2022-02-22 13:43:43 +08:00
parent 8a623115aa
commit 2edc16eb08
4 changed files with 11 additions and 8 deletions

View File

@ -75,6 +75,8 @@ 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);
}
});
}