Browse Source

实现关联表单设置可选字段中没有当前字段效果2.0

lwx_v9
liwenxuan 2 years ago
parent
commit
b22a189665
  1. 3
      src/components/DesignForm/formControlAttr.vue

3
src/components/DesignForm/formControlAttr.vue

@ -1640,6 +1640,7 @@
}
}
//console.log(resDataForGlxxszExceptself1)
if(getAssociatedFormsCurrentFieldTreeData.treeAttrs!=undefined){
associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value = [{
id: 'rootid_'+getAssociatedFormsCurrentFieldTreeData.label,
//label: '',
@ -1647,6 +1648,8 @@
children: resDataForGlxxszExceptself1,
treeAttrs: getAssociatedFormsCurrentFieldTreeData.treeAttrs,//
}]
}
//associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value.children = [...resDataForGlxxszExceptself1]
// end

Loading…
Cancel
Save