This commit is contained in:
Taric Xin
2022-03-09 16:53:58 +08:00
parent 206ffaa9b9
commit 2320ab0960
3 changed files with 10 additions and 3 deletions

View File

@ -50,6 +50,11 @@ export class DynamicSettingH5Component implements OnInit {
if (this.configList?.length < 0) {
return;
}
// 配置校验
if (this.configList.find((config: any) => !config.itemValue && config.requiredField)) {
this.service.msgSrv.warning('请填写必填项');
return;
}
let params = [...this.configList];
params = params.map((item: any) => {
if (item.itemType == 9) {