Browse Source

[完善]单位基本信息默认为不可选不重置value

master
邵佳豪 4 years ago
parent
commit
08ff992cd0
  1. 2
      src/app/ui/basicinfo/basicinfo.component.ts

2
src/app/ui/basicinfo/basicinfo.component.ts

@ -1020,7 +1020,7 @@ export class BasicinfoComponent implements OnInit {
element.propertyInfos = arr
}
//如果当前分组没勾选 则需先去重然后重置每一个value为空
if(!element.submitted){
if(!element.submitted && element.name != '基本信息'){
const res = new Map();
element.propertyInfos = element.propertyInfos.filter((a) => !res.has(a.propertyName) && res.set(a.propertyName, 1))
element.propertyInfos.forEach(ele => {

Loading…
Cancel
Save