Browse Source

关联选项多选数据处理v0.2

lwx_v8
liwenxuan 2 years ago
parent
commit
5d6ead2c20
  1. 21
      src/components/DesignForm/public/form/form.vue

21
src/components/DesignForm/public/form/form.vue

@ -429,6 +429,27 @@ provide(constControlChange, ({ key, value, data, tProp, type, attribute }: any)
} }
} }
//radioSelectArr2,radioSelectArr2
if(checkboxShowConfigArr2.length>0){
for(let i = 0;i<checkboxShowConfigArr2.length;i++){
if(checkboxShowConfigArr2[i].length>0){
for(let j = 0;j<checkboxShowConfigArr2[i].length;j++){
if(checkboxShowConfigArr2[i][j].showFields.length>0){
for(let n = 0; n<checkboxShowConfigArr2[i][j].showFields.length;n++){
let fieldKeyArr = checkboxShowConfigArr2[i][j].showFields[n].split(":")
let fieldKeyStr = fieldKeyArr[fieldKeyArr.length-1]
//alert(fieldKeyStr)
radioSelectArr2.push({
toShowFieldKey:fieldKeyStr,
})
}
}
}
}
}
}
//showFieldskey,optionValuevalue,radioselectArr3 --- //showFieldskey,optionValuevalue,radioselectArr3 ---
const radioSelectArr3:any[] = [] const radioSelectArr3:any[] = []

Loading…
Cancel
Save