Browse Source

修复了关联选项设置可选择本体的bug

lwx_v21
liwenxuan 8 months ago
parent
commit
1ce52bcd68
  1. 14
      src/components/DesignForm/formControlPropertiNew.vue

14
src/components/DesignForm/formControlPropertiNew.vue

@ -2570,7 +2570,19 @@ function getAssociatedFormsCurrentFieldTree1() {
element.children = []
element.disabled = false
}
let currentIdArr = element.id.split(":")
//console.log(currentIdArr)
let currentId = currentIdArr[currentIdArr.length-1]
//console.log(currentId)
if(currentId==controlData.value.name){
/* alert(currentId)
console.log(currentId) */
element.disabled = true
}
});
//liwenxuan bug end 250409
@ -3308,6 +3320,8 @@ watch(
)
);
} else {
console.log(changedOptions)
console.log(controlData.value.control.glxxsz)
for (var i = 0; i < changedOptions.length; i++) {
if (controlData.value.control.glxxsz[i] === undefined) {
//option

Loading…
Cancel
Save